21isenough / LightningATM

This ATM sends bitcoin over the Lightning Network - pretty fun.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add admin menu to configure the ATM

21isenough opened this issue · comments

Actual Behavior:
Currently we can only access different functions on the ATM with "multiple button presses" (e.g. button 3 times pressed, starts the Lntxbot scanning process).

Expected Behavior:
There shall be an "Admin Menu" that can be controlled with only one button. It could be a menu with all the menu points and an arrow next to the first point.

  • One press on the button makes the arrow jump to the next menu point
  • Two presses on the button confirm that menu point, and executes the function.
commented

even better. maybe use some of the gpios w jumpers? so that when power on the raspi automatically know the setting? (EDIT:) guess If you want a live menu there is the same problem that it also depends on the display you choose. with a touch you wont need buttons. we could make an interface class so we can assign the buttons differently depending on display type.