Created
September 28, 2018 09:28
-
-
Save e-Gizmo/7fc61aa4613a50666692cbdd6c36d630 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SoftwareSerial.h> | |
SoftwareSerial mySerial(3, 4); // RX, TX | |
void setup() { | |
Serial.begin(9600); | |
mySerial.begin(9600); | |
} | |
void loop() { | |
bool ready = false; | |
if (mySerial.available()) { | |
char c = mySerial.read(); | |
Serial.write(c); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment