30 #include <ArduinoJson.h>
Definition: VirtualShield.h:50
VirtualShield & shield
Definition: Sensor.h:55
Vibrate(const VirtualShield &shield)
Initializes a new instance of the Vibrate class.
Definition: Vibrate.cpp:38
void onJsonReceived(JsonObject &root, ShieldEvent *shieldEvent) override
Event called when a valid json message was received. Consumes the proper values for this sensor...
Definition: Vibrate.cpp:57
int vibrate(int milliseconds)
Vibrates the device for the specified milliseconds.
Definition: Vibrate.cpp:46
Definition: ShieldEvent.h:35