Steve,
The code was ripped from a previous bit of code that worked fine - I just changed the main part of the program and deleted all that wasn't required, so I can't see why it wouldn't work.
Its always the fuses that catch me out !!
Steve,
The code was ripped from a previous bit of code that worked fine - I just changed the main part of the program and deleted all that wasn't required, so I can't see why it wouldn't work.
Its always the fuses that catch me out !!
Steve,
If I remember correctly, if I leave out any config settings it takes whats listed in the INC file ??
If I delete my listings and add your last line it errors "overwriting previous settings" - (I'm using MPSAM) - If I leave the listings as
it compiles fineCode:@RC_OSC_NOCLKOUT @WDT_ON @PWRT_ON @MCLR_OFF @BOD_ON @LVP_OFF @CPD_OFF @PROTECT_OFF
Sure it compile fine but it simply don't do anything.
You could also Type
And MPASM won't yell, it just define a LABELCode:@SantaClausIsComingToTown_ON
Code:@SpinHere @ GOTO SpinHerealso workCode:@MCLR_OFF @ Goto MCLR_OFF
Have a look at the following...
http://www.picbasic.co.uk/forum/show...75&postcount=5
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks