Question: Need answer in Arduino code. Using a led pin 9 and push button pin 2. Write a code that will allow me turn on led
Need answer in Arduino code.
Using a led pin 9 and push button pin 2. Write a code that will allow me turn on led with one press on push button and led stays on even after you let go off your finger and turns off when button is pressed again. Also include, if led stays on for 5 minutes then it should turns off itself without pressing button again. Try to use milli() and debounce (). do not use serial. print and delay()
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
