Volhout Guru
 Joined: 05/03/2018 Location: NetherlandsPosts: 4565 |
Posted: 05:58pm 14 Jun 2024 |
|
|
|
When you stop the pwm, the pin is also disconnected, very handy if you want to re-purpose the pin.
So after pwm 0,off You must again Setpin gp16,pwm PWM 0,1000,50
Alternatively you can keep the pwm running at 0% duty cycle PWM 0,1000,0
Then the pwm keeps connected to gp16
Volhout Edited 2024-06-15 04:02 by Volhout |