My math was a little off, the line for the reading of the EEPROM should be
As a side note, you could make it really simple just by leaving the original table as-is and using this:Code:READ count1-26, duty
Code:Smooth_fade: IF Count1 = 0 THEN duty = 0 ELSE Read Count1, duty ENDIF RETURN WriteUserByte: WRITE 0, UserByte RETURN ReadUserByte: READ 0, UserByte RETURN
Bookmarks