About
This implements a little calculator with 7 LEDs as output (applying a shift register), an M5Stack-Atom-Lite as the MCU and its button as input.
Usage
Select the first number by cycling through digits 0 to 9, minus-sign "-" and decimal point "." by short press. To enter another digit double-press. To finish the number and get to the operator selection apply a long press.
Cycle through the operators plus, minus, multiply and divide with a short press and leave to the input of the second operand with a long press. Enter the second operand like the first one.
If you then long press to finish the number, the result will be displayed.
Example
In the example video you can see the input of the operand "3" followed by the selection of the multiply operator ("x") followed by the selection of digit "5" as the second operand. The result 15 is displayed as "=15".
Example Video