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