i worked a bit with arduino and controllino for some basic projects. But now I have to setup a serial connection between a Nextion Display and a Controllino Mega.
I am encountering a strange behaviour. My Controllino is connected to my PC by USB. The Nextion Display is connected to the Controllino by Pin 16 / 17 of X2. As my Controllino runs with 24V I am supplying the Nextion Display with a 5V power source.
Now, when I execute the following code, everything I print to Serial2 is sent to the Serial Monitor instead to the Nextion Display. Weird.
I spent days of searching, reading and trying. But I assume I need some professional help ;-).