EasyNextionLibrary icon indicating copy to clipboard operation
EasyNextionLibrary copied to clipboard

Send Component ID blocks Triggers

Open cattledogGH opened this issue 1 year ago • 3 comments

When the Send Component ID box is checked for a Touch Press Event or Touch Release Event which is a trigger command (e.g. printh 23 02 54 00) the trigger function is not recognized by an Arduino.

Tested with the library example TriggerCode.ino and Trigger.HMI. Checking and unchecking the Send Component ID box for the button events will determine whether the Arduino responds to the trigger or not.

This behaviour should be documented, or else the .NextionListen() function and command match should be modified to accommodate the component id being sent before the trigger bytes.

cattledogGH avatar Nov 18 '24 18:11 cattledogGH