30 #include <ArduinoJson.h>
40 int speak(String message);
Definition: VirtualShield.h:50
VirtualShield & shield
Definition: Sensor.h:55
int speak(String message)
Speaks the specified message.
Definition: Speech.cpp:49
Speech(const VirtualShield &shield)
Initializes a new instance of the Speech class.
Definition: Speech.cpp:40
void onJsonReceived(JsonObject &root, ShieldEvent *shieldEvent) override
Event called when a valid json message was received. Consumes the proper values for this sensor...
Definition: Speech.cpp:68
int stop() override
Stops this sensor.
Definition: Speech.cpp:56
bool IsSpeaking
Definition: Speech.h:38
Definition: ShieldEvent.h:35