foxleyboy Newbie
 Joined: 09/06/2019 Location: United KingdomPosts: 22 |
Posted: 05:23pm 09 Jun 2024 |
|
|
|
I want to use gp16 (pin21) as pwm. With SETPIN gp16, PWM I can set PWM, 0, 1000, 50 to get 1KHz 50% duty cycle OK. But when I try to stop it with PWM 0, OFF it tells me I ERROR pin not set for the PWM, 0, 1000, 50 instruction. However I have already seen the 1KHz signal on my scope before I introduced the PWM 0, OFF instruction. So what am I doing that is not right? Many thanks for any help. Roy |