Skip to content

Instantly share code, notes, and snippets.

@deostroll
Created July 28, 2018 02:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deostroll/9f70c9d2f1db96cec736cb851072d342 to your computer and use it in GitHub Desktop.
Save deostroll/9f70c9d2f1db96cec736cb851072d342 to your computer and use it in GitHub Desktop.
#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