Reads out a 7-segment LCD display and sends the value via serial.
How to port another display?
Analyse the display pins. You can use the ProMicro as a logic analyzer, to find the relevant segment pins and the common pins.
You can use the information provided here: https://lowpowerlab.com/forum/projects/moteino-kitchen-scale/
To use the Pro Micro together with PulseView you can use this repository: https://github.com/gillham/logic_analyzer
For more Information on LCD display consult: http://awawa.hariko.com/avr_lcd_drive_en.html
- error handlich of the serial connection. (If screen is kill in operation. The microcontroller needs a restart to reset the serial connection)
- handle all 4 digits by the print_digit() function.