Analog read and write to control LED brighness