Content originally posted in LPCWare by bocochoco on Tue Apr 27 11:37:19 MST 2010
Quote: igorsk
Yes, there is no ready-made standard API like in Arduino (NB: Arduino != AVR).
However, several sample projects include gpio.c/gpio.h files that provide simple functions such as GPIOSetDir and GPIOSetValue. Strangely there's no GPIOGetValue, but it shouldn't be hard to write.
I'll take a look at those examples when I get header pins in the lpc1343 target board. I don't suppose you would know of an absolute newbie guide would you? I'm familiar enough with C, but this is much more complex than I had thought it would be.