Adding ability to read current value of LED