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.
Diff: main.cpp
- Revision:
- 66:a89b7430b424
- Parent:
- 56:065bd3a75d97
- Child:
- 68:e88f3fd2e9cf
--- a/main.cpp Thu Jan 19 13:20:50 2017 +0100
+++ b/main.cpp Mon Jan 23 13:22:21 2017 +0100
@@ -15,7 +15,7 @@
break;
} case BOARD1_MODE: {
DigitalSensor pir1(PIR1);
- AnalogSensor sound_sensor(SOUND);
+ SoundSensor sound_sensor(SOUND);
Board(BOARD1_ADDRESS, &pir1, &sound_sensor).run();
break;
} case BOARD2_MODE: {