I am a beginner to microcontrollers. I am trying to use Arduino UNO to read data at 115200 Bd. I used SoftwareSerial.h as follows. But I do not think I got correct data. Could you help me take a look?
Thank you so much!
#include <SoftwareSerial.h>
SoftwareSerial mySerial(8,9); //RX,TX
void setup()
{
mySerial.begin(115200);
Serial.begin(115200);
Serial.println("starting...");
}
void loop()
{
while(mySerial.available())
{
Serial.println(mySerial.read());
}
}