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

Thank you SOOOO much, Darrel!

BTW, what software is that you are using to test out the code?