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.
Dependencies: mbed 4DGL-uLCD-SE mbed-rtos nRF24L01P
Microphone.h
- Committer:
- Nurchu
- Date:
- 2018-04-25
- Revision:
- 33:5d86c111d9bc
- Parent:
- 20:e068469ffb89
File content as of revision 33:5d86c111d9bc:
#include "mbed.h" class Microphone { public: Microphone(PinName pin); // Returns the raw float value on the pin float read(); operator float (); // Returns a scaled uint8 for transmission over the RF channel uint8_t getData(); private: AnalogIn _pin; float dc; };