You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I am having a similar issue though I am not even sending component id. I found that leaving page exit event empty blocks the next command sent, not only triggers but anything using printh. also, triggers are almost never working correctly. what is that about?
@eforekim
I don't understand the details of your issue, especially "triggers are almost never working correctly". I have any HMI files with empty page exit events, so i don't understand as well.
My suggestion is to take this discussion to the Arduino forum. I think it will be easier describe your environment in detail, to show your code, and attach HMI files.
If post on the Arduino forum , I will pick up your issue there.
@cattledogGH I am working with esp32, but I don't get the reasoning why I should post this in a board specific forum as I feel my issue is more related to this library and persist unrelated to whatever project I am working on.
thank you for your encouraging words my friend, I have opened another thread here. please see this post #70 I would really appreciate your help.
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.
The text was updated successfully, but these errors were encountered: