Grove soundsensor lib
soundsensor.h File Reference
supposed to get analogin and change input to Db, but the logic dont seem to work. More...
Go to the source code of this file.
Data Structures | |
| class | soundsensor |
| SoundSensor CLASS. More... | |
Detailed Description
supposed to get analogin and change input to Db, but the logic dont seem to work.
- Date:
- 23/1/2019
-----EXAMPLE----- include "mbed.h" include "soundsensor.h" soundsensor sound(A0); bool toDb = true;
int main() { while (true) { printf("Loudness: %f\r\n", sound.listen(toDb)); wait(0.5); } } -----EXAMPLE-----
Definition in file soundsensor.h.
Generated on Mon Jul 25 2022 22:26:59 by
1.7.2