Demo program for Wiflash
Dependencies: EthernetInterface mbed-rtos mbed wiflash2
Fork of wiflash-demo-blinkk by
main.cpp@17:2a84e0b685ab, 2015-05-01 (annotated)
- Committer:
- adhithyan15
- Date:
- Fri May 01 15:08:04 2015 +0000
- Revision:
- 17:2a84e0b685ab
- Parent:
- 16:b2b0fa8c2f0b
- Child:
- 18:f398d2d16382
Updated;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
donatien | 0:bb128f0e952f | 1 | #include "mbed.h" |
donatien | 0:bb128f0e952f | 2 | #include "EthernetInterface.h" |
adhithyan15 | 16:b2b0fa8c2f0b | 3 | #include "wiflash.h" // Include our wiflash library |
adhithyan15 | 16:b2b0fa8c2f0b | 4 | |
adhithyan15 | 17:2a84e0b685ab | 5 | Wiflash wf; |
adhithyan15 | 16:b2b0fa8c2f0b | 6 | DigitalOut myled(LED1); |
adhithyan15 | 16:b2b0fa8c2f0b | 7 | DigitalOut myled1(LED2); |
adhithyan15 | 16:b2b0fa8c2f0b | 8 | DigitalOut myled2(LED3); |
adhithyan15 | 16:b2b0fa8c2f0b | 9 | DigitalOut myled3(LED4); |
donatien | 0:bb128f0e952f | 10 | |
emilmont | 7:65188f4a8c25 | 11 | int main() { |
adhithyan15 | 16:b2b0fa8c2f0b | 12 | wf.setUp(); |
donatien | 0:bb128f0e952f | 13 | } |