Battery monitoring firmware for the Attiny10. The program read periodically the battery voltage and display the level on 3 LED. It support 2s-4s Lipo with a 0.3 voltage divider and detect automaticaly the number of cell.
Hardware project on Circuit Maker: https://circuitmaker.com/Projects/Details/Theo-Leurent/Fatshark-Module-Docker