@BayerischBier, the Nextion library is super easy to port:
-
In NexTouch.h, change
#include <Arduino.h>
to#include "application.h"
-
In NexSerialConfig.h, change
#define nexSerial Serial2
to#define nexSerial Serial1
if you are connecting the Nextion to the Rx/Tx lines of the Photon.
That’s it!