Initial version
Dependencies: C12832_mod LM75B MMA7660 mbed-src
Fork of GR-PEACH_blinky by
main.cpp@0:b2580afd6abb, 2014-11-14 (annotated)
- Committer:
- MACRUM
- Date:
- Fri Nov 14 04:13:14 2014 +0000
- Revision:
- 0:b2580afd6abb
- Child:
- 1:46d9c55342aa
Initial version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MACRUM | 0:b2580afd6abb | 1 | #include "mbed.h" |
MACRUM | 0:b2580afd6abb | 2 | |
MACRUM | 0:b2580afd6abb | 3 | DigitalOut myled(LED1); |
MACRUM | 0:b2580afd6abb | 4 | |
MACRUM | 0:b2580afd6abb | 5 | int main() { |
MACRUM | 0:b2580afd6abb | 6 | while(1) { |
MACRUM | 0:b2580afd6abb | 7 | myled = 1; |
MACRUM | 0:b2580afd6abb | 8 | wait(0.2); |
MACRUM | 0:b2580afd6abb | 9 | myled = 0; |
MACRUM | 0:b2580afd6abb | 10 | wait(0.2); |
MACRUM | 0:b2580afd6abb | 11 | } |
MACRUM | 0:b2580afd6abb | 12 | } |