Guest User

Untitled

a guest
Jul 18th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. void setup()
  2. {
  3. Serial.begin(9600);
  4. }
  5. void loop()
  6. {
  7. if (0 < Serial.available()) // See is there any coming data
  8. {
  9. char data = Serial.read(); // read first byte
  10. Serial.println(data); // print data in HEX
  11. }
  12. }
Add Comment
Please, Sign In to add comment