On the 12F683, the CCP1IF bit is PIR1.5.
Why they have to change things all the time ... I don't know.
Both the OSCCON and CMCON0 values don't have enough digits.Code:CCPIF VAR PIR1.5
added: CMCON0 won't matter cause it's still 7, but to keep things consistent ...
Not sure how this got changed, it should be ...Code:OSCCON = %01110000 ' 8Mhz CMCON0 = %00000111 ' Turn off comparators
Code:FOR x = 0 to (LEDcount - 1) ; Load the periods from EEPROM
![]()
Bookmarks