lazaro camargo
/
Blinky_Tests_GreenTea1
1
Fork of Blinky_Tests by
main.cpp@0:0d5d376157a0, 2016-09-19 (annotated)
- Committer:
- sarahmarshy
- Date:
- Mon Sep 19 22:12:16 2016 +0000
- Revision:
- 0:0d5d376157a0
greentea tests with example Blinky library
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 |