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
#define SECRET_SSID "wifiname" | |
#define SECRET_PASS "secret" |
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
const int pinLED = 13; | |
void setup() | |
{ | |
Serial.begin(9600); | |
pinMode(pinLED, OUTPUT); | |
} | |
void loop() | |
{ |
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
"""A demo of the Google CloudSpeech recognizer.""" | |
import os | |
import aiy.audio | |
import aiy.cloudspeech | |
import aiy.voicehat | |
import serial, time |