Demo program for Wiflash

Dependencies:   EthernetInterface mbed-rtos mbed wiflash2

Fork of wiflash-demo-blinkk by Adhithya Rajasekaran

Revision:
17:2a84e0b685ab
Parent:
16:b2b0fa8c2f0b
Child:
18:f398d2d16382
--- a/main.cpp	Fri May 01 15:04:47 2015 +0000
+++ b/main.cpp	Fri May 01 15:08:04 2015 +0000
@@ -2,7 +2,7 @@
 #include "EthernetInterface.h"
 #include "wiflash.h" // Include our wiflash library
 
-Wiflash wf; // Pass in a reference to the Ethernet interface object to the Wiflash object
+Wiflash wf; 
 DigitalOut myled(LED1);
 DigitalOut myled1(LED2);
 DigitalOut myled2(LED3);
@@ -10,23 +10,4 @@
 
 int main() {
     wf.setUp();
-    printf("Inside main!\n");
-    while(1) {
-        myled = 1;
-        wait(0.4);
-        myled1 = 1;
-        wait(0.4);
-        myled2 = 1;
-        wait(0.4);
-        myled3 = 1;
-        wait(0.4);
-        myled3 = 0;
-        wait(0.4);
-        myled2 = 0;
-        wait(0.4);
-        myled1 = 0;
-        wait(0.4);
-        myled = 0;
-        wait(0.4);
-    }
 }