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

API support for the ISD1820-based Grove Voice Recorder. More...

Detailed Description

This class implements support for the Grove Voice Recorder. There are two digital pins: one that enables recording, and the other that plays back what was previously recorded.

isd1820.jpg

Public Member Functions

synchronized void delete ()
 
 ISD1820 (int playPin, int recPin)
 
void play (boolean enable)
 
void record (boolean enable)
 

Constructor & Destructor Documentation

ISD1820 ( int  playPin,
int  recPin 
)

ISD1820 constructor

Parameters
recPinPin to use for recording
playPinPin to use for playback

Member Function Documentation

void play ( boolean  enable)

Starts or stops playback

Parameters
enableStarts playback if true, stops if false
void record ( boolean  enable)

Starts or stops recording

Parameters
enableStarts recording if true, stops if false

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