I'm working on the ST7LITE05 using the COSMIC C compiler. I tried to simply blink a Led using the folowing code, but it seams that the controller doesn't getting out of the ''For'' loop.. does anyone knows why? (the ''for'' loop in just a delay loop..) int i; while (1) { for(i=0;i if (ValBit(PBDR,0)) ClrBit(PBDR,0); else SetBit(PBDR,0); //Blink The Led } Thanks Itamar Itamar_nsu@bezeqint.net [ This message was edited by: Itamar on 19-08-2003 16:37 ]