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 ...
Did you know that you can use Arduino to turn on an LED when you press a button? Well, it is true, you can do this! Leaving the joke aside, let me show how you can achieve this. You will need the ...
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 ...