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: MaximInterface mbed
Diff: main.cpp
- Revision:
- 19:b8b0cd35f7b4
- Parent:
- 17:41be4896ed6d
- Child:
- 20:cdba71cb5506
diff -r 6fbf7e7b6ab6 -r b8b0cd35f7b4 main.cpp
--- a/main.cpp Wed Aug 10 08:19:00 2016 -0500
+++ b/main.cpp Mon Aug 15 13:59:17 2016 +0000
@@ -79,16 +79,16 @@
/// @{
/// Peripheral and pin definitions
static Serial pc(USBTX, USBRX);
-static DigitalIn provisionButton(P2_0);
-static DigitalIn invalidateButton(P1_5);
-static DigitalOut tempAlarmLed(P2_1, 1);
-static DigitalOut filterLifeAlarmLed(P2_3, 1);
-static I2C i2c(P2_6, P2_7);
+static DigitalIn provisionButton(D13);
+static DigitalIn invalidateButton(D5);
+static DigitalOut tempAlarmLed(D11, 1);
+static DigitalOut filterLifeAlarmLed(D10, 1);
+static I2C i2c(D14, D15);
static Display lcd(i2c, 0x78, 0x98);
static DS2465 ds2465(i2c, 0x30);
static SensorNode sensorNode(i2c, 0x90, 0x94, ds2465);
static Factory factory;
-static ESP8266 esp8266(P1_1, P1_0, P1_2, P1_3, 38400);
+static ESP8266 esp8266(D1, D0, D2, D3, 38400);
static WebServerInterface webIntf(esp8266, &pc);
/// @}
MAXREFDES143#: DeepCover Embedded Security in IoT Authenticated Sensing & Notification