Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup()
- {
- Serial.begin(9600);
- }
- void loop()
- {
- if (0 < Serial.available()) // See is there any coming data
- {
- char data = Serial.read(); // read first byte
- Serial.println(data); // print data in HEX
- }
- }
Add Comment
Please, Sign In to add comment