Q-Code User Manual
Ver. 7.0 2021/11/30
230
4.19.5 [Rl, Rk, Rj, Ri] = SC_RX
Write the received SC code to RAM. Ri=bit0 ~ 3, Rj=bit4 ~ 7, Rk=bit8 ~ 11, Rl=bit12 ~ 15.
Note:
1. NY9T / NX1 do not support this command.
2. Using this command before receiving SC data will get unknown data.
Ex.
[R0] = SC_RX
; Write Bit[3:0] of SC code to R0.
[R1, R0] = SC_RX
; Write Bit[3:0] of SC code to R0, Bit[7:4] to R1.
[R2, R1, R0] = SC_RX
; Write Bit[3:0] of SC code to R0, Bit[7:4] to R1,
; Bit[11:8] to R2.
4.19.6 [Xj, Xi] = SC_RX
Write the received IR code to RAM. Xi=bit0~7, Xj=bit8~15.
Note:
1. NY9T / NX1 do not support this command.
2. Using this command before receiving SC data will get unknown data.
Ex.
[X0] = SC_RX
; Write Bit[7:0] of SC code to X0.
[X1, X0] = SC_RX
; Bit[7:0] of SC code will be written to X0.
; Bit[15:8] of SC code will be written to X1.
4.20 PWMIO Command
PWMIO Command
4.20.1 PWMOut / PWMOutS
4.20.1.1 PWMOut / PWMOutS(Px.n, Duty, Time, Type)
This command is provided for user to output PWM-IO. The format of command is as following.
PWMOut:
After the time of the PWM-IO output is finished, the next command will be executed.
PWMOutS:
After PWM-IO output, the
following command
will be executed immediately
.
Px.n:
Specify output pin.
Duty:
User can designate the output percentage and levels via an immediate value, or designate
levels via variables.