Created
July 28, 2018 02:48
-
-
Save deostroll/9f70c9d2f1db96cec736cb851072d342 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 skbd(D1, D2); //RX. TX | |
#include <dummy.h> | |
void setup() { | |
// put your setup code here, to run once: | |
Serial.begin(9600); | |
skbd.begin(9600); | |
Serial.println("started..."); | |
} | |
void loop() { | |
// put your main code here, to run repeatedly: | |
while(skbd.available() > 0) { | |
Serial.print("CH: "); | |
Serial.println(skbd.read()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment