Add more one push button on physical pin 18 by using a pulldown resistor as shown in the Figure below. Also add a third

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Add more one push button on physical pin 18 by using a pulldown resistor as shown in the Figure below. Also add a third

Post by answerhappygod »

Add more one push button on physical pin 18 by using apulldown resistor as shown in the Figure below. Also add a thirdLED on physical pin 32, and name it LED3:
Modify the previous code so when Push Button 2 is pressed LED3blinks 10 times at a rate of 2 Hz or twice per second. Sinceyou are using pull-down resistor for the second push-button,interrupt at the rising edge must be used for it.
Code to modify:
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply