Reading port, effects on PWM?

reywas

Member
b9 = pinsC & 34

I am concerned that this line of code will momentarily stop the PWM that is running on c.0. Will this have any effect on c.0? If so, what is a good way to read two port pins into a variable without effecting the other port pins?

Thanks for your help.
 

reywas

Member
I re-read the section in manual 2 concerning PWMOUT and it states that "pwmout
runs continuously (in the background) until another pwmout command is sent", so I believe I have the answer I was looking for. Please advise if that is not correct.

Thanks
 
Top