Button State Exploration

This assignment was fun. Through exploration, trial/error I learned that the Digitalpullup button needs a resistor in order to recognize the full circuit.  When a resistor is not used the flow of energy circles around in a “high” state from the LED to GND. A resistor is need to resist the flow of energy to return to GRN enabling the LED to light up.

A seconding finding for me was within the StateChangeDetection sketch.  Defining input and output is crucial to defining the state of the LED (on vs. off).  The pushbuttoncounter is also important and dictates how many “clicks” it take to turn the LED on and off.  I also found that if you added-in a delay feature you can change the timing of when the LED turns on and off.



Author: George Crichlow

About Me: I am a Strategist interested in the relationships between people, culture and technology. My ambition is to create products and services that have commercial and cultural impact.

%d bloggers like this: