Q-Code User Manual
Ver. 7.0 2021/11/30
217
TR2R: Calibrate_OFF
; Turn off the calibration of Touch-Keys.
4.15.10 Enforce_Calibrate_Normal
When Enforce_Calibrate_Normal function is enabled, IC will calibrate under the environment
conditions automatically. If any Touch-Key is pressed, IC will still enforce the calibration.
Note:
1. NY4 / NY5 / NY5+ / NY6 / NY7 / NX1 do not support this command.
2. If user sets Calibrate_OFF, the Touch-Keys won’t be calibrated while executing the
Enforce_Calibrate_Normal command, and it will continue to execute the next command.
3. It’s strongly suggested that calibrate Touch-Keys once in a while to avoid changed
environment conditions causing poor reactions.
4. It’s suggested to enforce calibration on Touch-Keys when key is held over 40 seconds.
5. If there is an Enforce_Calibrate path, it will be executed immediately after
Enforce_Calibrate_Noraml is done.
6. Touch-Key release path is executed only if user chooses not to clear Touch-Key status
after Enforce_Calibrate_Normal is done.
Ex. Long- press key for 40 seconds to enforce calibration on Touch-Key once.
[Symbol]
KeyPress = R0
Count = R1
[Path]
4Sec: KeyPress=1?Check40sec, AutoJudge_Calibrate
Check40sec: Count++, Count=10?Timeout_40sec
Timeout_40sec: Count=0, Enforce_Calibrate_Normal
; Calibrate the Touch-Keys every 4 seconds. When keys are held over 40 seconds, enforce
calibration on Touch-Keys again.
TR1R: Calibrate_ON
; Turn on the calibration of Touch-Keys.
TR2R: Calibrate_OFF
; Turn off the calibration of Touch-Keys.
TR3R: KeyPress=1, Count=0, Play…..
; When KEY3 is pressed, KeyPress=1 (key is pressed).
TR3F: KeyPress=0, Count=0
; When KEY3 is released, KeyPress=0 (key is released).
Enforce_Calibrate: SW_Reset
; If there is no need to keep previous status after Enforce_Calibrate_Normal is done, it can do a
SW_Reset to restore to power-up initial status. If SW_Reset is not issued, it will go on to
execute Touch-Key release path.
4.15.11 Enforce_Calibrate_Sleep
When Enforce_Calibrate_Sleep function is enabled, IC will calibrate under the environment conditions
automatically. If any Touch-Key is pressed, IC will still enforce the calibration.