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: DigitDisplay MTS-Utils libmDot mbed-rtos mbed
Revision 2:756d0baab3fb, committed 2015-07-17
- Comitter:
- bbayer
- Date:
- Fri Jul 17 17:03:25 2015 +0000
- Parent:
- 1:cf83fcba7d02
- Child:
- 3:68094a3aa36f
- Commit message:
- update documentation
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Jul 15 20:28:24 2015 +0000 +++ b/main.cpp Fri Jul 17 17:03:25 2015 +0000 @@ -2,6 +2,7 @@ // MultiTech Thermostat & Fan Demo (fan unit) // // This program runs on a MultiTech mDot with: +// - 1 Arduino base shield // - 1 Grove LED05291P 4-digit display // - 1 relay for fan control // --------------------------------------------- @@ -16,12 +17,12 @@ Ticker periodicPollTick; DigitalOut led(LED1); -DigitalOut fan(PA_1); -DigitDisplay display(PB_1, PB_0); +DigitalOut fan(PA_1); //D6 on Arduino base shield +DigitDisplay display(PB_1, PB_0); //A0 & A1 on Arduino base shield // Configuration variables -static std::string config_network_name = "mts-fan-demo1"; -static std::string config_network_pass = "multitech"; +static std::string config_network_name = "your_name_here"; +static std::string config_network_pass = "your_key_here"; static uint8_t config_frequency_sub_band = 1; static volatile bool timeToPollConduit = true;