Search
  • Tyler Hammond

The Push Button Light

Once mastering the push button, implementing it within my code, and correctly wiring it up to my breadboard and Arduino, I began to build on this further.


I wanted to be able to press the push button, and for this to active an LED bulb. 💡

It would be a case of when the value from the button is equal to 0, then the LED is not powered on. Then, when the push button is equal to 1, turn the LED on. This would then be in a loop so its constantly checking whether the value of the push button is at 0 or 1.


This will mean that there will be very little delay between the press of the button, and the LED emitting.

0 views0 comments

Recent Posts

See All