Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE LSM9DS1_Library_cal SDFileSystem mbed wave_player
Fork of 4180Lab_4 by
Diff: main.cpp
- Revision:
- 1:bbd83a3a8372
- Parent:
- 0:2b0c527942db
- Child:
- 2:c7779da25bdb
diff -r 2b0c527942db -r bbd83a3a8372 main.cpp
--- 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");
