OK, this is for the PIC18F2550. It should work for most, if not all of the PIC18’s, with a few minor changes – Like the TRIS outputs. It will not work with the PIC16’s. It will not work with the …

Pulse Width Modulation on a PIC18F2550 – PWM1 & PWM2, XC8 Read more »

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 »

This isn’t a magical cut and paste example. YOU need to do some work.  Why? There are a number of Vishay thermistors, all with different properties and I don’t know which one you have. The values included here are for …

Using Vishay NTCASCWE3102J or NTCASWE3xx NTC Thermistors with the PIC18F2550 Read more »