PIC16F684 Flashing an LED with delay_ms, TMR0, Interrupt, & WDT
The LED flashes approximately 150ms every 5 seconds. RC1 (pin 9), triggers the LED. Interestingly, the PIC consumes 28uA at idle, no matter which method is used. Compiles with Microchip’s XC8 (v1.38) Delay function, 28 bytes Timer 0 delay, 31 …
PIC16F684 Flashing an LED with delay_ms, TMR0, Interrupt, & WDT Read more »