UPM

The UPM API is a high level sensor library for IoT devices using MRAA. See examples here. Back to index page.
SparkFun sensor images provided under CC BY-NC-SA-3.0.

HT9170 Class

Module: ht9170

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

Item Index

Methods

HT9170

(
  • dr
  • o1
  • o2
  • o3
  • o4
)
Number

HT9170 constructor

Parameters:

  • dr Number

    Data ready pin

  • o1 Number

    Digital pin for data output 1

  • o2 Number

    Digital pin for data output 2

  • o3 Number

    Digital pin for data output 3

  • o4 Number

    Digital pin for data output 4

Returns:

Number:

digitReady

() Boolean

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

Returns:

Boolean:

True if there is a digit available to decode

decodeDigit

() String

Decodes a digit and returns it

Returns:

String: