Re: Compiling problem
Hi,
Replace your @DEVICE ... lines by
Code:
;----[12F629 Hardware Configuration]--------------------------------------------
#IF __PROCESSOR__ = "12F629"
#DEFINE MCU_FOUND 1
#CONFIG
__config _INTRC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_OFF & _MCLRE_OFF & _BODEN_ON & _CP_OFF & _CPD_OFF
#ENDCONFIG
#ENDIF
;----[Verify Configs have been specified for Selected Processor]----------------
; Note: Only include this routine once, after all #CONFIG blocks
#IFNDEF MCU_FOUND
#ERROR "No CONFIGs found for [" + __PROCESSOR__ +"]"
#ENDIF
and remember to place a
just before each PULSOUT command
BTW.
"RCTIME" is " not so good " when reading a pot because of its huge non-linearity ... ( same for the POT command )
would be much better to use the 12F675 ( or 12F1822/1840 ) ADC , here ... 
and overall have a look to that F... Manual ... @DEVICE is something I never saw with PBP ...
" Galaxy 76 " ... French Guy living in the N.O. of France ???
Last edited by Acetronics2; Yesterday at 11:40.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks