void setup()
This section of the code is executed once at startup. This is were you can initialize code or just run a task once when the device first powers on.
For this application I need to open the serial port that the Nextion will use to send messages to the Arduino Nano Every. I also need to define the relay pins as outputs.
Last updated