@stevemann
I am sure there is a possiblity to navigate into the menu of the LCD
But I have not found an example with a but button on A0 with different values…
Seems an awful system when you could simply write each button to a gpio.
You could take the voltage and an if/elseif type of case statement to produce the key pressed, but how you tell when a key event occurs is a mystery to me.
Hello, I return here to “explain” what I would like to do :
I use a NodeMcu 12F 8266 under EspHome with tree devices :
PZEM-004T V3
DS18B20 sensor
LCD 1602 shielded with button (link below)
So I would to have a menu on the LCD who display menu :
Menu 1 : display 2 data (for example Current and Voltage)
Menu 2 : display 2 data (for example Energy and Power)
Menu 3 : Display temperature
Menu 4 : Time and data
Selection of the menu with the button connected on the LCD shielded (to A0)
I have succeed to read the value (the voltage) of each button
But this is is the how to navigate into the menu (validate a line of menu to access into this …) I don’t know how to do
for resume this is the structure of the program menu I cannot define…