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