Quote Originally Posted by richard View Post
catching key presses with isr's is never a good look

a simple polling debounce is way more effective ...
But isn't IOC specifically designed to handle this? The 16F18877 has IOC across all pins...?


Quote Originally Posted by richard View Post
...what is this about ?
'PinD2 CON $1A ' Datasheet table 13-2
'PinD3 CON $1B
'CCP3PPS = PinD2 ' CCP3 Peripheral input selection
'CCP4PPS = PinD3 ' CCP4 Peripheral input selection
...
It's PWM on Contrast and Backlight on LCD. I have at least 4 LCDs. That would equate to 8 pots to control contrast and backlight.

I prefer a HPW solution, that way I can control all LCDs with 1 dual encoder; 1 shaft for contrast, 1 shaft for backlight, and SPST-switch can toggle across each LCD.


I'm still digesting the code.