Arduino/ESP32 Bar graph library uses custom charactors to draw bar graphs on LCD displays.
Copy LcdGraph.cpp and LcdGraph.h into your project.
To use non a I2C LCD remove
#define USE_I2C
from the LcdGraph.h header file.
Include the header file
#include "LcdGraph.h"Create an instance of LcdGraph
Call init() to set number of columns and rows as well as the start column and row.
Call createChars() to set the LCD display's custom charactors
Call addValue() to add a value to the graph
Call drawGraph() to update the LCD display with the updated graph values
Try it out in the Wokwi online ESP32 simulator
