tes ir atas semua

Dependencies:   mbed ADS1115 StepperMotor SRF05 TPA81new

Revision:
20:1b0a265598c0
Parent:
19:9a7b34bedc6c
Child:
21:bfb064f77f88
--- a/main.cpp	Mon Jan 21 12:34:04 2019 +0000
+++ b/main.cpp	Mon Jan 21 12:37:28 2019 +0000
@@ -24,11 +24,13 @@
 Uvtron uv(PC_12); 
 
 // Sound
-//DigitalIn(PA_3);
+DigitalIn sound(PA_3);
 
 int main()
 {
     //tpax.changeaddress(0xDC,0xDE);
+    while(sound.read()){}
+    pc.printf("Sound Detected\n");
     while(1) {
         pc.printf("%d", tpay.getTemp(0));
         int i;