[Partially solved] ISR from SoftwareSerial port

I tried to do on the advice of @/dev, but nothing came of it. Apparently, it is necessary to understand how to work with NeoSWSerial.

Nothing? Nothing at all? No error messages?

Apparently, it is necessary to show us your code. NeoSWSerial is a complete replacement for SoftwareSerial, so you use it the same way. You have not shown us any serial code. -_-

Ok, somewhere there must be something like this:

    #include <SoftwareSerial.h>
    SoftwareSerial foo( 5, 6 );

Where did you get the Nextion library? If Nextion.h has something like this at the top...

#define USE_SOFTWARE_SERIAL //Comment this line for use  HardwareSerial


#if defined(USE_SOFTWARE_SERIAL)
#include <SoftwareSerial.h>
#endif

class Nextion{
 private:
  void flushSerial();
#if defined(USE_SOFTWARE_SERIAL)
  SoftwareSerial *nextion;
#else
   HardwareSerial *nextion;
#endif
 public:
    Nextion(){};//Empty contructor
#if defined(USE_SOFTWARE_SERIAL)
  Nextion(SoftwareSerial &next, uint32_t baud);//Constructor
#else
  Nextion(HardwareSerial &next, uint32_t baud);//Constructor
#endif

Then you can do a search and replace in Nextion.h and cpp. Replace all occurrences of "SoftwareSerial" with "NeoSWSerial" (case sensitive!). You should end up with this in the H file:

#define USE_SOFTWARE_SERIAL //Comment this line for use  HardwareSerial


#if defined(USE_SOFTWARE_SERIAL)
#include <NeoSWSerial.h>
#endif

class Nextion{
 private:
  void flushSerial();
#if defined(USE_SOFTWARE_SERIAL)
  NeoSWSerial *nextion;
#else
   HardwareSerial *nextion;
#endif
 public:
    Nextion(){};//Empty contructor
#if defined(USE_SOFTWARE_SERIAL)
  Nextion(NeoSWSerial &next, uint32_t baud);//Constructor
#else
  Nextion(HardwareSerial &next, uint32_t baud);//Constructor
#endif

(Why don't people use Stream instead of hard-coded HardwareSerial and SoftwareSerial? >:-[ ).

And somewhere you must make a SoftwareSerial variable. Change that to NeoSWSerial as shown above.

Cheers,
/dev