Arduino Function: SoftwareSerial.read

Description

Return a character that was received on the RX pin of the software serial port. Note that only one SoftwareSerial instance can receive incoming data at a time (select which one with the listen() function).

Examples

SoftwareSerial mySerial(10,11);

void setup() {
mySerial.begin(9600);
}

void loop() {
char c = mySerial.read();
}


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc