You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
468 B
C++

// Talkie library
// Copyright 2011 Peter Knight
// Adafruit library modified by Jean-Luc Deladrière
// This code is released under GPLv2 license.
#ifndef _Talkie_h_
#define _Talkie_h_
#include <Arduino.h>
class Talkie {
public:
Talkie(void); // PWM
Talkie(uint8_t cs, uint8_t clk, uint8_t dat); // DAC
void say(const uint8_t *address, boolean block=true);
boolean talking(void); // Poll this when block=false
};
#endif