Grove soundsensor lib

Revision:
7:6f0c583b4f54
Parent:
6:fb51a4b71646
Child:
8:5b4b258eb1da
--- a/soundsensor.cpp	Mon Jan 21 13:08:11 2019 +0000
+++ b/soundsensor.cpp	Wed Jan 23 10:06:16 2019 +0000
@@ -30,7 +30,7 @@
     float average;
     
     for(int i=0;i<100;i++){
-       values[i] = sensor.read_u16();
+        values[i] = soundSensor.read() * 3.3;
         wait(0.0001);
     }