upm  0.4.1
Sensor/Actuator repository for libmraa (v0.8.0)
Public Member Functions | List of all members

API for the HT9170 DTMF Decoder. More...

Detailed Description

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.

ht9170.jpg

Public Member Functions

synchronized void delete ()
 
 HT9170 (int dr, int o1, int o2, int o3, int o4)
 
boolean digitReady ()
 
char decodeDigit ()
 

Constructor & Destructor Documentation

HT9170 ( int  dr,
int  o1,
int  o2,
int  o3,
int  o4 
)

HT9170 constructor

Parameters
drData ready pin
o1Digital pin for data output 1
o2Digital pin for data output 2
o3Digital pin for data output 3
o4Digital pin for data output 4

Member Function Documentation

char decodeDigit ( )

Decodes a digit and returns it

boolean digitReady ( )

Checks to see if a DTMF number is ready to be read

Returns
True if there is a digit available to decode

The documentation for this class was generated from the following file: