I have a LCD display 2004 with i2c and photoresistor. How can I make automatic brightness control at the hardware level ? sorry if this question is too primitive. Thanks !
Well, yes, you can connect the photo-resistor to an Arduino input and ground, set to INPUT_PULLUP, and you can control the backlight of the 2004 display from the Arduino.
How you do that depends on the specifications of the 2004 display however, which we do not know.
Thank you for your reply ) you can help with writing code for the implementation of this task ?
Assist we can, as soon as you give complete specifications, diagrams and your current implementation of the code.
Hint - read the forum instructions.