Advertisement
RuiViana

Untitled

Jan 13th, 2016
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. //@00RD00000001*
  2.  
  3. char c;
  4.  
  5. void setup()
  6. {
  7. Serial.begin(9600);
  8. pinMode(13,OUTPUT);
  9. }
  10.  
  11. void loop()
  12. {
  13. while(Serial.available())
  14. {
  15. // for (int i = 0; i<2; i++)
  16. // {
  17. c= Serial.read();
  18. Serial.println(c);
  19. // }
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement