| Posted: 11:04am 09 Jan 2023 |
|
|
|
Hi Peter, Can the duty cycle be changed while the PWMs are running and keep the same phase relationship.i.e is this valid
setpin GP0,PWM setpin GP2,PWM setpin GP4,PWM setpin GP6,PWM PWM 0,10000,25,,1 PWM 1,10000,25,,1 PWM 2,10000,25,,1 PWM 3,10000,25,,1 PWM SYNC 0,25,50,75
for x=25 to 50 step 5 PWM 0,10000,x PWM 1,10000,x PWM 2,10000,x PWM 3,10000,x pause 100 next x
|