Contents[Show]

A LED bar graph is normally lit continuously. This is not useful for applications that need low energy consumption. That's why I made a LED bar graph that uses less energy. Instead of lit the LEDs continuously, the LED bar graph works as a running light whereby the last LED, which indicates the actual level, lit a little bit longer. The code shown is for a LED bar graph with 5 LEDs.

The running LED bar graph is used at my Yamaha e-bike battery hack with accurate fuel gauge:

GitHub

Download the code Running_led_bar_graph.ino here at GitHub.

Do you have any comments about the website? Please let me know.