All submissions

Implement a 4-bit binary counter

Solving Approach

How do you plan to solve it?

 Connect 2 push buttons one for increment, one for decrement between Arduino pins and GND, and connect 4 LEDs with resistors to output pins and GND. In the code, keep a counter variable, increase and decrease it when buttons are pressed, and display its binary value on the LED
 

 

 

 

Code

/*Paste your code here*/

https://wokwi.com/projects/443183016430134273

Output

Video

Add a video of the output (know more)

 

 

 

 

 

 

 

 

 

 

Submit Your Solution

Note: Once submitted, your solution goes public, helping others learn from your approach!