PIC16F18346 and OSCCON
Posted: Sun Aug 01, 2021 5:26 pm
Hi,
I have a problem with running my PIC16F18346 on 8Mhz. I get this error:
I don’t understand why. I use only the internal oscillator. I have tried the three options for internal oscillator but nothing helps.
I also used "OSCCON = 0x70" without spaces.
Attached the simple Flowchart.
I have a problem with running my PIC16F18346 on 8Mhz. I get this error:
Code: Select all
PIC16F18346 - OSCCON - 01.c: main()
322: OSCCON = 0x70;
^ (192) undefined identifier "OSCCON"
(908) exit status = 1
(908) exit status = 1
I also used "OSCCON = 0x70" without spaces.
Attached the simple Flowchart.