Just started using a 16F777, mainly because I want to use the three hardware PWM modules.
Tried to write a BLINKY
Used a couple of lines of fuse settings
These are basically used straight from the MPASM P16F777.inc fileCode:;Program Configuration Register 1 @ __CONFIG _CONFIG1, _CP_OFF & _CCP2_RC1 & _DEBUG_OFF & _VBOR_2_0 & BOREN_0 & _MCLR_OFF & _PWRTE_OFF & _WDT_OFF & _INTRC_IO ;Program Configuration Register 2 @ __CONFIG _CONFIG2, _BORSEN_1 & _IESO_OFF & _FCMEN_OFF
When I compile I get a
Symbol not previously defined (BOREN_0)
Any clues as to what I'm doing wrong ? BOREN_0 is definitely in the list of Config byte 1 options.
I seem to have a love/hate relationship with fuses - we get along fine for a while and then they bite me in the arse
TIA, Andrew
Bookmarks