Sarah Marsh
/
Blinky_Tests
Example greentea tests with Blinky library
main.cpp@1:b0034f8b2c42, 2016-09-27 (annotated)
- Committer:
- sarahmarshy
- Date:
- Tue Sep 27 22:24:35 2016 +0000
- Revision:
- 1:b0034f8b2c42
- Parent:
- 0:0d5d376157a0
Removed true assertion on success.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sarahmarshy | 0:0d5d376157a0 | 1 | #include "Blinky.h" |
sarahmarshy | 0:0d5d376157a0 | 2 | |
sarahmarshy | 0:0d5d376157a0 | 3 | int main(void){ |
sarahmarshy | 0:0d5d376157a0 | 4 | Blinky blinker(LED1, 500); |
sarahmarshy | 0:0d5d376157a0 | 5 | blinker.start(); |
sarahmarshy | 0:0d5d376157a0 | 6 | Thread::wait(5000); |
sarahmarshy | 0:0d5d376157a0 | 7 | blinker.stop(); |
sarahmarshy | 0:0d5d376157a0 | 8 | } |
sarahmarshy | 0:0d5d376157a0 | 9 |