Spwm signas generator by pic

Status
Not open for further replies.

SPWM

Newbie level 3
Joined
Dec 23, 2011
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,301
hi to all Ineed help on how this portion of code work THANKX
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
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…