- AuthorPosts
The problem is that everytime I send this “default” data (set_value or set_text), the micro ESP32 faults.
What does this sentence mean that I don’t understand
Dear Mr. Zhang, thanks for replay.
In my project I have two widgets type “edit” and three widgets type “combo_box_ex” that has been filled with “–” by Stone-Designer (field TEXT) as soon as I switch on the display.
The users can input theyr own values, but as soon as the users have done this operation, I would like to have this fields filled again with “–“.
In order to perform this operation, I’m trying to send the follow commands from my MCU (ESP32):
Serial2.print(“ST<{\”cmd_code\”:\”set_value\”,\”type\”:\”edit\”,\”widget\”:\”mms\”,\”value\”:0}>ET”); Serial2.print(“ST<{\”cmd_code\”:\”set_value\”,\”type\”:\”edit\”,\”widget\”:\”mmi\”,\”value\”:0}>ET”); Serial2.print(“ST<{\”cmd_code\”:\”set_text\”,\”type\”:\”combo_box_ex\”,\”widget\”:\”mol\”,\”text\”:\”-\”}>ET”); Serial2.print(“ST<{\”cmd_code\”:\”set_text\”,\”type\”:\”combo_box_ex\”,\”widget\”:\”mot\”,\”text\”:\”-\”}>ET”); Serial2.print(“ST<{\”cmd_code\”:\”set_text\”,\”type\”:\”combo_box_ex\”,\”widget\”:\”med\”,\”text\”:\”-\”}>ET”);
But my ESP32 answers with an error (xQueueGenericReceive or Semaphore error) and reset/restart. I don’t know if this is an overflow error or a serial data problem.
- AuthorPosts
You must be logged in to reply to this topic.