Created
May 4, 2020 08:45
-
-
Save maditnerd/7428f5649b773708bcb50f787581bef5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
#include <ESP8266SAM.h> | |
#include "AudioOutputI2SNoDAC.h" | |
AudioOutputI2SNoDAC *out = NULL; | |
void setup() | |
{ | |
out = new AudioOutputI2SNoDAC(); | |
out->begin(); | |
} | |
void loop() | |
{ | |
ESP8266SAM *sam = new ESP8266SAM; | |
sam->Say(out, "Can you hear me now?"); | |
delay(500); | |
sam->Say(out, "I can't hear you!"); | |
delete sam; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment