I have followed the instructions at https://www.arduino.cc/en/Tutorial/HelloWorld and have my LCD displaying some text. I've also connected the LED back light (LCD pins 15&16).
I wanted to replace the potentiometer used to set the contrast, with a connection to the DAC pin. It needs to be about 0.8V.
When I connect the contrast pin from the LCD to my DAC pin on my ESP32 board, it doesn't work, the contrast is too high. Using a volt meter, it measures about 2.5V.
If I disconnect the LCD contrast pin from my DAC pin, the voltage measured is 0.8V.
Any ideas or examples on how to control the LCD contrast using a DAC pin?
I wondered if I need to add a resistor or something.