Replies: 2 comments 9 replies
-
Hi @Clive66, we've lost the ability to send GCode over serial in H5 as there's some confusion between screen serial and USB serial when running. https://github.com/kachurovskiy/nanoels/blob/main/h5/h5.ino#L1501-L1505 For some reason, Nextion commands also go into USB output when it's connected and GCode input is not being noticed by the GCode task. https://github.com/kachurovskiy/nanoels/blob/main/h5/h5.ino#L1187 Either we solve this problem or move on to control ESP32 via WiFi web socket. |
Beta Was this translation helpful? Give feedback.
-
I will prefix this comment with a disclaimer "I am not a programmer"! I am wondering if this information on the Nextion App help could provide a solution? Advanced. Address mode is an advanced technique prepending the serial instruction with two bytes for the address. Two byte address is to be sent in little endian order, ie: 2556 is sent 0xFC 0x09. By default, the Nextion address is 0 and does not require two byte prefixing. When the two byte addressing is used, Nextion will only respond to the command if its address matches the two byte prefix, or the transmitted address is 65535 broadcast. Setting addr will persist and be the new power on default until set again. See 6.20 for the addr System Variable. // Nextion 3 byte termination as per NIS 1.1 // Turn Address Mode on and set Address to 2556 // ref t0 on the Nextion with address 2556 0x09FC // turn off Address Mode for all and set Address to 0 using broadcast 65535 Maybe using the nextion address would allow separation of the two serial streams. |
Beta Was this translation helpful? Give feedback.
-
I have been looking at GCode/Lathecode and would like to know if this is compatible with the H5 controller or if it might be added at a later date? Thanks
Beta Was this translation helpful? Give feedback.
All reactions