Executing a Clear after the include file certainly doesn't help
get rid of this
'************************************************* ****************************
CLEAR
'************************************************* ****************************
Should be [comparator/ccp etc are off by default & bit 3 of OSCCON is read only ]Code:CCP1CON=0 ' Disable CCP Module CVRCON=0 CMCON=7 ' analog comparators off OPTION_REG.7=1 ' Disable Pull-Ups OSCTUNE=%00000000 OSCCON=%01111000 '16f88 - 8Mhz
BAM_COUNT CON 3 ; will not do much or look like a cylon in cylon demoCode:ANSEL=0 OPTION_REG.7=1 ' Disable Pull-Ups OSCCON=%01110001 '16f88 - 8Mhz




Bookmarks