Great idea! The design already uses a temperature sensor so that will be easy to do. I know at room temp 25 C the OSCTUNE should be 0 so I can solve the equation with that in mind and tr ...
I am using a PIC16F767 (EXT) which using the internal oscillator as it's main clock source (I know, you are asking why? Not my choice, I inherited this design, probably because of cost). I am also u ...