On 23.08.2010 22:39, Frédéric Sureau wrote:
When removing the main loop ( while(1) ), the led is just flashing one
time very shortly independently from the delay duration.
Show the code, please. Seems like you missed volatile keyword in delay cycle variable declaration and more effective optimizer removed all delay cycles away.

--
Regards,
   Sergey A. Borshch            mailto: [email protected]
     SB ELDI ltd. Riga, Latvia

Reply via email to