Content originally posted in LPCWare by Pacman on Thu Jun 12 15:05:17 MST 2014
I think it's best only to have one thread regarding this; otherwise, we'll all get confused, when we reply. I suggest this one in the LPC15xx forum.
When you ask questions like this, it is a real good idea to make a minimal test program first, which only consists of main(), the global variable and some LED that is turned on / off.
Before you pose a code example, I'd like to ask you to use the [color=#060][[/color][color=#060]code][/color] and [color=#060][[/color][color=#060]/code][/color] tags, to format your code snippets. (You can use the '#' button for that, and you can press the eye-button to see a preview of your post, before you click the "Post" button).