how to turn on LED's ??

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to turn on LED's ??

284 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by slayerlp on Wed Mar 20 18:49:40 MST 2013
Hi guys, i'm a newb at this things, i'm a programmer but i don't have some knowledge about microcontroller's programming :(

My teacher ask us to buy the LpcXpresso 1769 for our DSP class.
But he did't guide us how to use it.

i'm looking for the LPC17xx.h library, but i don't find something like
set_trisb(0xFF);  as in pics.

i just want to learn how to detect inputs and make outputs.
for example, turn on a LED in a proto?

I'm sorry for my bad english :(

i hope you can help me.
0 Kudos
2 Replies

270 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by stalisman on Thu Mar 21 09:29:37 MST 2013
It might be an idea to look at the LPCXpresso Experiment Kit.    The user guide found here : http://www.embeddedartists.com/sites/default/files/support/xpr/expr_kit/LPCXpresso_Experiment_Kit_Us...

descibes how turning on a led works and is a little easier to understand.

Pages 28 to 30.

Maybe your teacher could organise getting a kit?
0 Kudos

270 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Mar 20 23:21:02 MST 2013
Read User Manual UM10360 http://www.nxp.com/documents/user_manual/UM10360.pdf Chapter 9: LPC17xx General Purpose Input/Output :)

Search LPCXpresso forum and you find a lot of answers like #2 in http://knowledgebase.nxp.com/showthread.php?t=2463 :)

Use samples in you sample folder :)

...LPCXpresso_5.1.2_2065\lpcxpresso\Examples\NXP\LPC1000\LPC17xx\LPCXpresso176x_cmsis2.zip\LPCX176x_cmsis2_systick
0 Kudos