using to switchs counting up and down on leds
Posted: Thu Dec 11, 2025 10:35 pm
count 3 bit count when a switch button is on it counts up and when button is off counts down but also adding a another switch which counts up 4 bits when button is on and then when button is off it counts 4 bit down. I struggling with having the tw0 buttons when setting both buttons on one line,doing a 3 bit counter going up and down on the same button i can do and it works fine but copying that code underneath it just confusing the way the buttons work.This is the close i got to it working but it not counting up 4 bits when off it counting down 3 bit. Anyone can help?