Skip to content

Instantly share code, notes, and snippets.

@giljr
Last active October 29, 2017 22:59
Show Gist options
  • Save giljr/8f37f456c1cd44187bdb32ec1e313b53 to your computer and use it in GitHub Desktop.
Save giljr/8f37f456c1cd44187bdb32ec1e313b53 to your computer and use it in GitHub Desktop.
J3BCP - Testing arrival bytes - See webpage: https://goo.gl/4zmgGK
/*
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