I don’t seem to be able to read anything using the software serial on the serial input on my mini pro - I’ve even tried a simple loopback joining pints 2 and 3 together, and the outputting to the inbuilt serial but data is never shown as available.
Am I doing something obviously wrong??
This is the test loop I’m using
#include <SoftwareSerial.h>
SoftwareSerial nss(2,3);
void setup(){
// Start up serial ports
Serial.begin(9600); // used for debug ouput
nss.begin(9600);
Serial.println(“Loaded”);
}
void loop() {
nss.print(65);
if (nss.available()) {
Serial.println(nss.read());
}
}
I get the loaded message, but whatever I write or print to the port gets mimicked back.
Any ideas?
Richard