A test program for my SuperTweet driver classes.
Dependencies: mbed SuperTweet EthernetNetIf
main.cpp@0:67880614001c, 2010-10-13 (annotated)
- Committer:
- shintamainjp
- Date:
- Wed Oct 13 10:56:38 2010 +0000
- Revision:
- 0:67880614001c
- Child:
- 1:183d8c0ba30d
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shintamainjp | 0:67880614001c | 1 | #include "mbed.h" |
shintamainjp | 0:67880614001c | 2 | |
shintamainjp | 0:67880614001c | 3 | DigitalOut myled(LED1); |
shintamainjp | 0:67880614001c | 4 | |
shintamainjp | 0:67880614001c | 5 | int main() { |
shintamainjp | 0:67880614001c | 6 | while(1) { |
shintamainjp | 0:67880614001c | 7 | myled = 1; |
shintamainjp | 0:67880614001c | 8 | wait(0.2); |
shintamainjp | 0:67880614001c | 9 | myled = 0; |
shintamainjp | 0:67880614001c | 10 | wait(0.2); |
shintamainjp | 0:67880614001c | 11 | } |
shintamainjp | 0:67880614001c | 12 | } |