You can read the state of a button using Arduino and a few lines of code. The actual state is shown in the Serial Monitor window as 0 or 1, 0 meaning the button is not pressed and 1 that the button is ...
int lastbuttonState = LOW; // Way to store previous button state from loop to loop int ledState = LOW; // Way to store previous LED state from loop to loop long lastDebounceTime = 0; // The last time ...
This Arduino sketch allows you to control media playing on a ChromeCast device. The sketch can control all the existing Google apps that support ChromeCast including YouTube, Google Music and Google ...