the_ledtester_class
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
the_ledtester_class [2018/08/11 01:03] – frchris | the_ledtester_class [2018/08/11 01:05] – frchris | ||
---|---|---|---|
Line 69: | Line 69: | ||
sleep(5; | sleep(5; | ||
} | } | ||
- | sleep(1; | + | sleep (1); // common gap |
+ | } | ||
+ | } | ||
+ | /* | ||
+ | * Wait units times the defined unit of time | ||
+ | */ | ||
+ | private void sleep(int units) { | ||
+ | try { | ||
+ | Thread.sleep(units*UNIT); | ||
+ | } catch (InterruptedException e) | ||
+ | { | ||
} | } | ||
} | } |
the_ledtester_class.txt · Last modified: 2018/08/11 01:10 by frchris