Jgolightly
New member
Hi all,
I am using a Teensy 4.0 with a Nextion 10.1" Intelligent Series touch screen. I originally created the project on an Arduino Uno and switched to the Teensy. Everything is working as expected (after some fixes) except for the Teensy receiving data from the Nextion display. I put my scope on the output of the Nextion and I am getting the expected signals when a press/release event happen. I have tried Serial1 and Serial2. Both work sending data to the Teensy, but nothing seems to work to receive data from the Nextion.
I feel as though I am missing something... obviously; my suspicion is that the problem is in this function.
nexLoop(nex_listen_list);
I have never told nexLoop which pin to listen on, I assume that is buried somewhere in a library that I have not been able to locate. The Rx pin by default is pin 0 on the Uno.
I am using https://github.com/itead/ITEADLIB_Arduino_Nextion library.
Has anyone else come across this issue? My Code is attached. 8_Thermocoup..... is the main, others are functions. Please ignore any other errors you might see.
Thanks
Jason
View attachment hmi_update.inoView attachment 8_Thermocouple_Tracker_Nextion_HMI_8_5_2020_teensy40.inoView attachment MaxAveMin.inoView attachment read_TCs.ino
I am using a Teensy 4.0 with a Nextion 10.1" Intelligent Series touch screen. I originally created the project on an Arduino Uno and switched to the Teensy. Everything is working as expected (after some fixes) except for the Teensy receiving data from the Nextion display. I put my scope on the output of the Nextion and I am getting the expected signals when a press/release event happen. I have tried Serial1 and Serial2. Both work sending data to the Teensy, but nothing seems to work to receive data from the Nextion.
I feel as though I am missing something... obviously; my suspicion is that the problem is in this function.
nexLoop(nex_listen_list);
I have never told nexLoop which pin to listen on, I assume that is buried somewhere in a library that I have not been able to locate. The Rx pin by default is pin 0 on the Uno.
I am using https://github.com/itead/ITEADLIB_Arduino_Nextion library.
Has anyone else come across this issue? My Code is attached. 8_Thermocoup..... is the main, others are functions. Please ignore any other errors you might see.
Thanks
Jason
View attachment hmi_update.inoView attachment 8_Thermocouple_Tracker_Nextion_HMI_8_5_2020_teensy40.inoView attachment MaxAveMin.inoView attachment read_TCs.ino