Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
332 B
3
Indexable
Never
 
#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);
}
}