#include #include static __code uint16_t __at (_CONFIG) configword1 = _CP_OFF & _WDT_OFF & _HS_OSC; void Intr(void) __interrupt 0 { T0IF = 0; } void wink() { uint16_t i; for (i=0;i<30000;i++) continue; } void main() { setup(); for (;;) { loop(); } } void setup() { TRISB = 0; } void loop() { PORTB = 0xff; wink(); PORTB = 0; wink(); }