Advertisement
mindrunner

Untitled

May 1st, 2015
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. #define circuit ZPUino_Vanilla
  2.  
  3. int count = 0;
  4. char buf[1024] = {0};
  5.  
  6. void setup() {
  7.   Serial.begin(3000000);
  8. }
  9.  
  10. void loop() {
  11.   sprintf(buf, "This is a very long string to test the reliability of the serial port with ZPUino (%d)\n", count++);
  12.   Serial.write(buf);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement