Priunsh Nagru / Mbed 2 deprecated 4180Lab_4

Dependencies:   4DGL-uLCD-SE LSM9DS1_Library_cal SDFileSystem mbed wave_player

Fork of 4180Lab_4 by Rahul Maran

Revision:
1:bbd83a3a8372
Parent:
0:2b0c527942db
Child:
2:c7779da25bdb
--- a/main.cpp	Wed Nov 02 02:02:03 2016 +0000
+++ b/main.cpp	Wed Nov 02 02:07:34 2016 +0000
@@ -1,5 +1,5 @@
 #include "mbed.h"
-#include "Wifi.h"
+#include "Webpage.h"
 #include "LSM9DS1.h"
 #include "uLCD_4DGL.h"
 #include "playSound.h"
@@ -15,14 +15,14 @@
 PwmOut green(p23);
 PwmOut blue(p24);
 SDFileSystem sd(p5, p6, p7, p8, "sd");
-Wifi fi(p28, p27, p26);
+Webpage page(p28, p27, p26);
 LSM9DS1 IMU(p9, p10, 0xD6, 0x3C);
 AnalogOut DACout(p18);                  
 wave_player player(&DACout); 
 //playSound("/sd/wavfiles/BUZZER.wav");
 
 int main() {
-    fi.setupPage();
+    page.setupPage();
     IMU.begin();
     if (!IMU.begin()) {
         pc.printf("Failed to communicate with LSM9DS1.\n");