RB0 on 12F1822 PIC?
Posted: Fri Nov 04, 2016 3:24 pm
Hi,
I recently developed a flowchart that I am using to calibrate an electronic speedometer to either increase or decrease the reading going to the speedometer. I originally designed the circuit using a 12F683 and made a few examples that worked 100%. However, the 8mhz CPU on the 12F683 is too slow to perform accurate calibration and I ported the flowchart to a 12F1822 with a 32Mhz processor.
I used pin 5 on the chip (12F683) to read the signals from the speedometer sensor (using the interrupt function), however, if you enable the interrupt function on Flowcode for the 12F1822 it seems to be "tied" to RB0. According to the datasheet, there is no RB0 on the 12F1822.
I would appreciate assistance in enabling the interrupt on pin 5 on the 12F1822. I have attached my Flowchart.
Regards
Conroy
I recently developed a flowchart that I am using to calibrate an electronic speedometer to either increase or decrease the reading going to the speedometer. I originally designed the circuit using a 12F683 and made a few examples that worked 100%. However, the 8mhz CPU on the 12F683 is too slow to perform accurate calibration and I ported the flowchart to a 12F1822 with a 32Mhz processor.
I used pin 5 on the chip (12F683) to read the signals from the speedometer sensor (using the interrupt function), however, if you enable the interrupt function on Flowcode for the 12F1822 it seems to be "tied" to RB0. According to the datasheet, there is no RB0 on the 12F1822.
I would appreciate assistance in enabling the interrupt on pin 5 on the 12F1822. I have attached my Flowchart.
Regards
Conroy