All submissions

Implement a 4-bit binary counter

Solving Approach

How do you plan to solve it?

 
 Connect two push buttons—one for incrementing and one for decrementing—between Arduino input pins and ground. Wire four LEDs, each with a resistor, between output pins and ground. In your code, use a counter variable that increases or decreases based on button presses, and display its binary value across the LEDs

 

 

 

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!