Content originally posted in LPCWare by Thom314 on Fri Aug 03 00:03:51 MST 2012
Yes, I had a look at exemples before ask the question.
For exemple, in blinky project, I think they used CMSIS functions, like GPIOSetDir(0, 7, 1). I tried to use it, but it don't works too.
I think I have a problem with include files, but in exemple code there is no more include files than in mine.
The thing I don't understand in LPCXpresso is where is the link between register (memory) and keywords (like GPIO0_IODIR) ?
I have good programming experience with PIC MCU, I begin with Cortex M0, I spent hours looking how to turn on this LED...
Is there someone who could explain me step by step how to turn on this LED, starting from a new project ?
Thank you very much !