The outputs of PORTC.1 and PORTC.2 are high all the time.
Why? In other code snippets PAUSE seems to allow action to continue. I hope you guys see that I am being stupid.
Code:' PORTC.0 'High is R/C. Low is PIC control TRISC = %11110000 main: low portc.0 gosub straightforward pause 4000 goto main end StraightForward: pwm 1,120,50 pwm 2,120,50 return
Bookmarks