A program using ESP8266 Huzzah to receive message from Amazon AWS service and control a servo to flip on/off the mechanical light switch.
Dependencies: RPCInterface Servo mbed
Fork of dotbot by
Diff: Light.h
- Revision:
- 3:99303dc07632
diff -r 747b84e54088 -r 99303dc07632 Light.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Light.h Thu Dec 14 00:30:12 2017 +0000 @@ -0,0 +1,4 @@ +#include "mbed_rpc.h" + +void lightOff(Arguments *in, Reply *out); +void lightOn(Arguments *in, Reply *out); \ No newline at end of file