Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- byte incomingByte = 0;
- void setup()
- {
- Serial.begin(9600);
- }
- void loop()
- {
- if (Serial.available() > 0)
- {
- incomingByte = Serial.read();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement