Ross,
if you have declared:
LEDcount CON 8
and
OnTime VAR BYTE[LEDcount]
OffTime VAR BYTE[LEDcount]
that will translates to an array indexed from 0 to 7, so
OnTime(8) = PRI_HULL_LGHTS_ON_MS
OffTime(8) = PRI_HULL_LGHTS_OFF_MS
Will not result in what you expect.
Bookmarks