Q-Code User Manual
Ver. 7.0 2021/11/30
234
4.20.3 WaitPN
Execute next command after PWM-IO playback ends. If no PWM-IO playback is in progress, executes
next command immediately.
WaitPN
WaitPN(Px.n)
Px.n:
wait for PWM-IO on specified pin.
Note:
1. NX1 does not support this command.
2. NY4 / NY5 / NY6 / NY7 / NY9T do not support Px.n parameter.
4.20.4 StopPWM
Stop output of PWM-IO.
StopPWM
StopPWM(Px.n)
Px.n:
stop PWM-IO on specified pin.
Note:
1. NX1 does not support this command.
2. NY4 / NY5 / NY6 / NY7 / NY9T do not support Px.n parameter.
4.20.5 PausePWM
Pause the playback of PWM-IO data. This command will stop time counter of the PWMOut / PWMOutS
command, but the PWM-IO pin will still continue to output signals as ResumePWM command is
executed.
PausePWM
PausePWM(Px.n)
Px.n:
pause PWM-IO on specified pin.
Note:
1. NX1 does not support this command.
2. If user doesn’t set PWM-IO to output, this command does not take effect.
3. In NY9T, PWM-IO will be closed after IC enters sleep if PWM-IO is paused.
4. NY4 / NY5 / NY6 / NY7 / NY9T do not support Px.n parameter.
4.20.6 ResumePWM
This command can resume the playback of PWM-IO.
ResumePWM
ResumePWM(Px.n)
Px.n:
resume PWM-IO on specified pin.