Dimming led with Arduino and rotary encoder