Quote Originally Posted by mister_e
and more, pretty bad that PBC don't allow to set the config fuses in the code.. that would be so much convenient. Yet another real limitation of PBC.
Code:
    @ __CONFIG _INTRC_OSC_NOCLKOUT & _WDT_ON & _PWRTE_ON & _MCLRE_OFF & _BODEN_ON
         ' Internal Oscillator
         ' Enable watch dog timer
         ' Enable power up timer
         ' Disable MCLR pin
         ' Enable brown out detect
Without PBC, I cannot test or look at the "supplied" files but if the fuses are not dropped in by a .inc file like they are in PBP, I wonder if the user could include them in the following manner (at the top of their program):

ASM
device pic12F675, intrc_osc_noclkout, wdt_off, mclr_0ff, protect_off
ENDASM

I do remember that PBC supports inline ASM – shouldn't this work?.

(I use MPASM - I am not sure if the format for PM is correct above).

If it does work, I think this would be easier than having to edit the .inc file like we do in PBP. Thoughts?

Paul Borgmeier
Salt Lake City, Utah
USA