#include <SoftwareSerial.h>
const int rx=-1;
const int tx=2;
SoftwareSerial mySerial(rx,tx);
Are you kidding? Pin -1?
Here's a clue: pins 0 and 1 are for the USB link and the rest are > 1.
#include <SoftwareSerial.h>
const int rx=-1;
const int tx=2;
SoftwareSerial mySerial(rx,tx);
Are you kidding? Pin -1?
Here's a clue: pins 0 and 1 are for the USB link and the rest are > 1.