I'm making a digital watch code. There is no problem with the code itself, but as I input things like BUTTON_SW and BUS_SW, I didn't have enough buttons in my kit to run the hour, minute, second, an...
All right, let's go into more detail. Here's my kit (QB-EP2C208-BK).
And BUTTON_SW [15:0] is the code that you enter to raise the time, minutes, and seconds of the digital clock. So I have to assign it to the button. That way I can enter the time manually. But as you can see in the picture, the number of buttons is small....
Therefore, when DIP switch 1 above is turned on, button 1 with BUTTON_SW assigned will operate as BUTTON_SW [1], When DIP switches 1 and 2 are turned on, the switch is operated as BUTTON_SW[2]. I want to continue this method and operate it until BUTTON_SW[15].