hi to all I need help on how this portion of code work thanx
sine:
TMR1L = timerone.byte0
TMR1H = timerone.byte1
TeMP = sineval[STEPCOUNT]
CCP1CON.4 = Temp.0 ' bit 0
CCP1CON.5 = Temp.1 ' bit 1
CCPR1L = Temp >>2 'Bit 2-7
if stepcount = 0 then stepcount =36
stepcount = stepcount -1
Bookmarks