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: BME280 BMP280 TextLCD
Diff: sample_hardware.cpp
- Revision:
- 41:859b5e1e3d9a
- Parent:
- 37:7c4d7f206039
- Child:
- 48:244d6d81bb52
diff -r 5c499989d2b9 -r 859b5e1e3d9a sample_hardware.cpp
--- a/sample_hardware.cpp Sun Jan 07 23:01:38 2018 +0000
+++ b/sample_hardware.cpp Mon Jan 08 14:20:30 2018 +0000
@@ -78,6 +78,7 @@
//Network test (if BOTH switches are held down)
//networktest();
+
puts("**********POST END**********");
}
@@ -89,7 +90,14 @@
greenLED = 1;
wait(1.0);
greenLED = 0;
- return;
+ return;
+ case NETWORK_FATAL:
+ while(1) {
+ redLED = 1;
+ wait(0.1);
+ redLED = 0;
+ wait(0.1);
+ }
case FATAL:
while(1) {
redLED = 1;