Close

Toggling Buttons

A project log for 8 Bit Computer Front Panel

VHDL code for I2C Control of Front Panel with 32 pushbuttons and 32 LEDs

land-boardscomland-boards.com 06/16/2021 at 15:590 Comments

Debouncing the pushbuttons is fine but what we really need for most of the pushbuttons from a front panel is toggling lines. When a button is pressed it should toggle the state of the bit that was pressed.

Got this working and created a branch in GitHub. This uses the same IOP16 program (FP01_LOOP2) as the previous log. It still loops back the toggled pushbuttons back to the LEDs.

And it works.

Discussions