Last active
August 23, 2022 14:06
-
-
Save lomassubedi/f94440e7903e6d8e63623d2c32f13b56 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
#define BAUD 115200UL | |
void setup() { | |
// put your setup code here, to run once: | |
Serial.begin(BAUD); | |
} | |
void loop() { | |
if(Serial.available() > 0) { | |
while(Serial.available() > 0) { | |
Serial.write(Serial.read()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment