Hi guys, this code below is the code I ran in my arduino with proper wiring. When I ran it for the first time on my nextion NX3224F024_011, It worked. then when I adjust the device in the editor to go wih NX8048K050_011, and connected properly. it didn't work. then when I open a new file and did the same thing, it didn't work as well. When putting it again in my NX3224F024_011, it didn't work as well.
#include <EasyNextionLibrary.h>
// Create an EasyNex object
EasyNex myNex(Serial1);
void setup() {
// Begin serial communication with the Nextion display
Serial.begin(9600);
// Initialize the EasyNex library
myNex.begin(9600);
delay(500);
myNex.writeStr("t0.txt", "Hello");
}
void loop() {
// Listen for events from the Nextion display
myNex.NextionListen();
}
Arduino | Nextion
GND | GND
RX | TX
TX | RX
5V | 5V
HELLO.zip (18.3 KB)
I have uploaded the file here. Please help me. I don't what to do. I even change the wires with the same connections
@cattledog pls help