User Tools

Site Tools


the_ledtester_class

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
the_ledtester_class [2018/08/11 01:05] frchristhe_ledtester_class [2018/08/11 01:05] frchris
Line 46: Line 46:
          for(int i = 0; i < 10; i++) {          for(int i = 0; i < 10; i++) {
             pin1.flash(200);             pin1.flash(200);
-            try { Thread.sleep(200; } catch (InterruptedException e) {}+            try { Thread.sleep (200); } catch (InterruptedException e) {}
         }         }
     }     }
Line 64: Line 64:
                     pin1.flash(3*UNIT);                     pin1.flash(3*UNIT);
                 } else if (atom == '/') {   // inter-symbol gap                 } else if (atom == '/') {   // inter-symbol gap
-                    sleep(1;   // plus one leading and one trailing == 3+                    sleep (1);   // plus one leading and one trailing == 3
                 } else {                 } else {
                     // must be a space                     // must be a space
-                    sleep(5;   // plus one leading and one trailing == 7+                    sleep (5);   // plus one leading and one trailing == 7
                 }                 }
                 sleep (1);   // common gap                 sleep (1);   // common gap
the_ledtester_class.txt · Last modified: 2018/08/11 01:10 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki