upm
0.5.1
Sensor/Actuator repository for libmraa (v0.9.1)
|
API for the HT9170 DTMF Decoder. More...
This driver was developed using the DTMF (Dual-Tone Multi-Frequency) Shield by Seeed Studio*. It can decode DTMF signals presented at its audio input. It does not generate DTMF signals.
Public Member Functions | |
HT9170 (int dr, int o1, int o2, int o3, int o4) | |
~HT9170 () | |
bool | digitReady () |
char | decodeDigit () |
HT9170 | ( | int | dr, |
int | o1, | ||
int | o2, | ||
int | o3, | ||
int | o4 | ||
) |
HT9170 constructor
dr | Data ready pin |
o1 | Digital pin for data output 1 |
o2 | Digital pin for data output 2 |
o3 | Digital pin for data output 3 |
o4 | Digital pin for data output 4 |
bool digitReady | ( | ) |
Checks to see if a DTMF number is ready to be read
char decodeDigit | ( | ) |
Decodes a digit and returns it