modified LED code for working with new rgb LED