Seithan / EasyNextionLibrary

A simple library for Nextion display that uses only four functions. You can easily benefit from Nextion's wide range of features and advantages in just a few easy steps. The library uses a custom protocol that can prove to be a powerful tool for advanced users as it can be easily modified to meet one’s needs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arduino micro have a problem

elektroboard opened this issue · comments

My codes is working on ESP32. No problem. I use nextion library for Arduino Micro (i.e. Atmega32U4). But it is not work.

There is a compiling error: Compilation error: no matching function for call to 'EasyNex::EasyNex(Serial_&)'

I set EasyNext component as below.
EasyNex myNex(Serial);

When I change Serial to Serial0, Serial1 I get this error:

Compilation error: 'myNex' does not name a type

What can I do?

Hello
Micro uses SoftwareSerial library for serial communication on other Micro's digital pins.
Micro has only one Hardware Serial on pins 0 & 1
So you can use only this one with Easy Nextion Library

you can see also:
#35

#3