Content originally posted in LPCWare by gbm on Wed Feb 01 08:15:55 MST 2012
Is your LED connected to GPIO2, bit 7? If so, why don't you initialize the pin as output?
Why do you use division instead of clearing your software timer while changing the LED state? It's definitely not a good idea, although it should not influence the operation of your blinker.