Last active
October 29, 2017 22:59
-
-
Save giljr/8f37f456c1cd44187bdb32ec1e313b53 to your computer and use it in GitHub Desktop.
J3BCP - Testing arrival bytes - See webpage: https://goo.gl/4zmgGK
This file contains hidden or 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
/* | |
J3BCP Testing the bytes that come from Arduino. | |
Run this code on Arduino Pro Mini | |
see webpage: https://goo.gl/4zmgGK | |
*/ | |
char data; | |
void setup() { | |
Serial.begin(9600); | |
} | |
void loop() { | |
if (Serial.available() > 0) | |
{ | |
data = Serial.read(); | |
Serial.println(data, BIN); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment