Nofew

Untitled

Jun 17th, 2012
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.13 KB | None | 0 0
  1. char typedstuff[65];
  2. short int i = 0;
  3. while(Serial.available() == 1) {
  4.     typedstuff[i] = Serial.read();
  5.     i++;
  6. }
  7. typedstuff[i] = '\0';
Advertisement
Add Comment
Please, Sign In to add comment