Re: Blink I/O PIC16F887
Posted: Fri Sep 04, 2020 4:22 am
Ahh, they didn't use the name in the datasheet
Try "INTRC_NOCLKOUT"
You can't use a define to write to a normal register. As I stated, your code must be running before you can write anything to OSCCON. It starts with the "power on default" values mentioned in the datasheet.
Try "INTRC_NOCLKOUT"
I tried to use a define statement for OSSCON outside of main, but that also doesn't work
You can't use a define to write to a normal register. As I stated, your code must be running before you can write anything to OSCCON. It starts with the "power on default" values mentioned in the datasheet.