I'm trying to make a very simple (but complicated for me) program to adjust the brightness/backlight of various screens that have RS232 connection.
The idea is 2 buttons, for on and off (standby) and 1 potentiometer to adjust TV brightness.
When the brightness would be adjusted, I want it to have 20 thresholds
F.x. if the pot value is less than 50, the arduino would adjust the brightness to 5%
If the value would then change to 50 - 100, another msg would be sent to adjust brightness to 10%
And after sending the fixed HEX msg, I'd like it to pause untill the pot value changes to another "threshold"
I have all the cables needed, the HEX msgs from the manufacturer but almost no knowledge in programming nor terms and have no idea what to look for, hence why I'm posting here.
If anyone could guide me to the right "articles" that would be really appriciated, or give me a few examples that I could stitch together.
Thanks in advance for any help I can get