Good day! I'm having a proble
with my program on the part of user interface.
It asks the user to select component to dispense using the keypad of vending machine.
Then the serial monitor will ask the user "continue transaction?" We set a button for Yes or No on the keypad.
But still the selection of component is still active which lets the user to select other component. We want to disable the selection of component after the user choose.
In the serial monitor it appears like this
Select component: (choices are numbers 1-9 on keypad)
After selecting a number though, the user can still select other numbers which shouldn't be valid. We also intend to add a "Continue?" function after selecting a number. Pressing "A" means yes, "B" for no. But this doesn't work.