/dev:
That is nothing like what I suggested:
That's exactly what I did. Software port is declared only in NexHardware.cpp file.
String #define nexSerial Serial I added to test behavior of the hardware serial port.
Also wrote the sketch to check I/O data from software serial port.
#include <NeoSWSerial.h>
NeoSWSerial ss( 2, 3 );
void setup(void)
{
Serial.begin(9600);
ss.begin(9600);
Serial.println("Ready!");
}
void loop(void)
{
if (ss.available())
{
String data = ss.readString();
Serial.println(data);
}
ss.print("t0.txt=");
ss.write(0x22);
ss.print("forum.arduino.cc");
ss.write(0x22);
ss.write(0xff);
ss.write(0xff);
ss.write(0xff);
}
Sending data works well. Pressing the touch screen variable data is filled, but I can not figure out what it was. But in the main program anyway not working display with NeoSWSerial. Maybe not enough space in the buffer?