-
Thanks for responding! Great news about the easy setup of the button.
Both buttons will be pressed pretty frequently. Maybe 10-20 times each per minute.
Ideally the lag between a button press and the variable change is < 2 seconds.Twilio would be sending a basic SMS text message when the variable (integer) are at a specific value.
EDIT: It would be awesome if the script could run locally on one of the boards if it minimized delay, but then I would somehow have one board send the HTTP request to the other board running as an Express server or something. Is this possible?
You will have fun with the Espruino-Wifi boards... you can run them from a USB power bank - the things you use to give more talk time to your cell phone. Adding the buttons is easy too: just connect the one side of the push button to an input pin and the other one to ground. The input pin you configure to use the internal pull-up resistor. You are obviously familiar w/ js... which makes getting the software going quickly.
Questions I have are: