Q-Code User Manual
Ver. 7.0 2021/11/30
150
Parameter
說明
FD
Indicating the output will change along with volume (Flash with Dynamic,
NY4 / NY5 /
NY5+ / NY6 / NY7 only
).
Q
Indicating each pin will follow the variation of the QIO signal of
Quick-IO
(NY4 / NY5 /
NY5+ / NX1 only)
.
Ex.
Set PB=[1 1 1 1] to let the output of PB be 15.
Ex.
Set PB=[0 1 0 1] to let the output of PB be 5.
Ex.
Set PB=[X 1 0 1] to change the value of the three LSB bits to 5, and keep the MSB value.
Ex.
Set PB=[FD X X X] to let the output of PB.3 flash dynamically with volume.
Ex.
Set PB=[Q X X X] to led the output of PB.3 accord with the Quick-IO signal.
Ex.
Set IO command to play the whole .vio and single .vio signal.
[Action File]
VIO0 = D:Action1.vio
;
Action Label:A1~A8
VIO1 = D:Action2.vio
;
Action Label:A1~A10
[Path]
PowerOn:
Path1: PA=[A4 A3 A2 A1], PB=[A5 A6 A7 A8], PlayA(4, $VIO0)
; Play Label “VIO0” in channel 4.
4.3.38 [Px.n …] = [1 0 X Q]
This command is used to control output of each specified pins. Accepted output types are as follow:
參數
說明
X
Indicating the pin maintains the original output signal.
0
Indicating the pin is with low electric potential output.
1
Indicating the pin is with high electric potential output.
Q
Indicating each pin will follow the variation of the QIO signal of
Quick-IO
.
Note: NY4 / NY5 / NY5+ NY6 / NY7 / NY9T does not support this command.
4.3.39 Px.n = 1KHz(time)
Px.n outputs square wave at 1kHz for seconds.
Time:
the range is 0~15, in the unit of second, If Time=0, it outputs in loop.
Note: While this command is being executed, the system will not response to actions until this
command execution is finished.
Ex.
PB.3=1KHz(5) or PB.3=1KHz(5s)
; PB.3 outputs square wave at 1kHz for 5 seconds.