I have some PIC18F1220 which I thought I would use up on a project.
In testing an output using a delay routine obtained from https://www.golovchenko.org/home/delay_loops , which I have used several times in the past, The time was entirely different from what it should be.
I made sure I had the system clock set OK, i.e. OSCCON = 0x60 (4Mhz) and CONFIG OSC= INTIO1 in order to 'scope the output on pin RA6.
Using the recently acquired FNIRS1-1013D, the wave form on RA6 displayed 2.32Khz?
I have used this PIC in past and do not recall any issues like this?
Any ideas of being something stupidly simple?
In testing an output using a delay routine obtained from https://www.golovchenko.org/home/delay_loops , which I have used several times in the past, The time was entirely different from what it should be.
I made sure I had the system clock set OK, i.e. OSCCON = 0x60 (4Mhz) and CONFIG OSC= INTIO1 in order to 'scope the output on pin RA6.
Using the recently acquired FNIRS1-1013D, the wave form on RA6 displayed 2.32Khz?
I have used this PIC in past and do not recall any issues like this?
Any ideas of being something stupidly simple?