Calculator for the micro:bit made with MicroPython
The user selects the operation desired using the left button (A Button).
- 1 Press: Addition
- 2 Presses: Subtraction
- 3 Presses: Multiplication
- 4 Presses: Division
The user inputs the values using bits. The left button inserts a 0 bit and the right button inserts an 1 bit. The insertion starts from the least significant bit.