Untitled

 avatar
unknown
plain_text
3 years ago
332 B
5
Indexable
 
#include <SoftwareSerial.h>
SoftwareSerial mySerial(8, 9); // RX, TX
 

void setup()
{
  Serial.begin(115200); //Hardware serial device connected here
  mySerial.begin(57600); //Connected to my computer
 

}
 
void loop()
{
while ( Serial.available() >=1)
{
mySerial.print(Serial.read(), DEC);
delay (5);
}
}
Editor is loading...