A short test program for all things m3pi and BtBee.
Dependencies: btbee m3pi_ng mbed
Fork of m3pi_btTest by
main.cpp@0:546e224d2f88, 2013-04-19 (annotated)
- Committer:
- ngoldin
- Date:
- Fri Apr 19 13:38:42 2013 +0000
- Revision:
- 0:546e224d2f88
- Child:
- 1:c1845f088b5d
first commit - just the default led stuff;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ngoldin | 0:546e224d2f88 | 1 | #include "mbed.h" |
ngoldin | 0:546e224d2f88 | 2 | |
ngoldin | 0:546e224d2f88 | 3 | DigitalOut myled(LED1); |
ngoldin | 0:546e224d2f88 | 4 | |
ngoldin | 0:546e224d2f88 | 5 | int main() { |
ngoldin | 0:546e224d2f88 | 6 | while(1) { |
ngoldin | 0:546e224d2f88 | 7 | myled = 1; |
ngoldin | 0:546e224d2f88 | 8 | wait(0.2); |
ngoldin | 0:546e224d2f88 | 9 | myled = 0; |
ngoldin | 0:546e224d2f88 | 10 | wait(0.2); |
ngoldin | 0:546e224d2f88 | 11 | } |
ngoldin | 0:546e224d2f88 | 12 | } |