retepsnikrep
Senior Member
I have an 08M and I want to control some of the outputs high/low using let pins.
However I also have a pwm output set up on pin 2.
So if i use the command
let pins = %00010011 ;Switch on Outputs 0,1,4
and then later use
let pins = %00000000 ;Switch off Outputs 0,1,4
Will this also deactivate the pwm running on pin 2?
Or will it just stop it's output? so if I then used
let pins = %00010111 ;Switch on Outputs 0,1,2,4
Would the pwm output re-appear at the pin? Or would it have to be initialised?
However I also have a pwm output set up on pin 2.
So if i use the command
let pins = %00010011 ;Switch on Outputs 0,1,4
and then later use
let pins = %00000000 ;Switch off Outputs 0,1,4
Will this also deactivate the pwm running on pin 2?
Or will it just stop it's output? so if I then used
let pins = %00010111 ;Switch on Outputs 0,1,2,4
Would the pwm output re-appear at the pin? Or would it have to be initialised?