JNP3 16/17

Dependencies:   mbed nRF24L01P

Files at this revision

API Documentation at this revision

Comitter:
pannaanna
Date:
Mon Jan 23 14:18:23 2017 +0100
Parent:
67:95a70056394d
Commit message:
port changed

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 95a70056394d -r e88f3fd2e9cf main.cpp
--- a/main.cpp	Mon Jan 23 13:23:44 2017 +0100
+++ b/main.cpp	Mon Jan 23 14:18:23 2017 +0100
@@ -15,7 +15,7 @@
             break;
         } case BOARD1_MODE: {
             DigitalSensor pir1(PIR1);
-            SoundSensor sound_sensor(SOUND);
+            SoundSensor sound_sensor(SOUND, PA_1);
             Board(BOARD1_ADDRESS, &pir1, &sound_sensor).run();
             break;
         } case BOARD2_MODE: {