You're absolutely right, it won't work as you wrote it.TRYING TO USE THE INTERNAL OSC ON THIS CHIP
ANYONE KNOW THE CORECT SYNTAX?
DEVICE pic16F88, INTRC_OSC_NOCLKOUT
DOES NOT WORK
THANKS
1) you must state the "@" in front of the word "DEVICE...";
2) show you code; if you need some help, give some valuable info;
3) SHOUTING never helps... and isn't motivating others to help you;
4) here is a complete fuse initialisation - don't edit, just copy/paste it because this works!!!. It is not the shortest example but, at least, you can see every fuse declaration separately.
If you then want your PIC to work at 4MHz, add this:Code:@ DEVICE PIC16F88,INTRC_OSC_NOCLKOUT @ DEVICE PIC16F88,PROTECT_OFF @ DEVICE PIC16F88,WDT_OFF @ DEVICE PIC16F88,PWRT_ON @ DEVICE PIC16F88,MCLR_ON @ DEVICE PIC16F88,BOD_OFF @ DEVICE PIC16F88,LVP_OFF @ DEVICE PIC16F88,CPD_OFF @ DEVICE PIC16F88,DEBUG_OFF @ DEVICE PIC16F88,CCPMX_OFF
The advantage of SHOUTING is that some people can take their glasses off to read this postCode:OSCCON = %01100000 '4MHz![]()




Bookmarks