Page 1 of 1

Rotary encoder + led r and led l

Posted: Fri Dec 01, 2023 8:50 pm
by solozerouno
I'm creating a project with Arduino Uno that manages two rotary encoders and 4 LEDs, two green and two red: each encoder drives the two LEDs, one green and one red based on whether the rotary encoder turns left or right. the second encoder works like the first with the other 2 LEDs.. please help me.... it's urgent. Thanks solozerouno

Re: Rotary encoder + led r and led l

Posted: Fri Dec 01, 2023 9:29 pm
by chipfryer27
Hi

Unsure of what help your are requesting. Many examples of using encoders on the WiKi and it would be simple enough to modify to include flashing an LED

Regards

Re: Rotary encoder + led r and led l

Posted: Fri Dec 01, 2023 10:22 pm
by solozerouno
my project requires that an output: led1 has a pulse at each click of the rotary encoder and if it turns to the left and led 2 or output 2 if the rotary encoder turns to the right.... it's can you help me with a simple example please. ... Thanks solozerouno.

Please help me....

Posted: Fri Dec 01, 2023 11:44 pm
by solozerouno
my project requires that an output: led1 has a pulse at each click of the rotary encoder and if it turns to the left and led 2 or output 2 if the rotary encoder turns to the right.... it's can you help me with a simple example please. ... Thanks solozerouno.

Re: Rotary encoder + led r and led l

Posted: Sat Dec 02, 2023 12:04 am
by kersing
Please do not double post the same question

Re: Rotary encoder + led r and led l

Posted: Sat Dec 02, 2023 1:33 am
by solozerouno
please help me with an example. Thanks solozerouno

Re: Rotary encoder + led r and led l

Posted: Sat Dec 02, 2023 6:37 am
by chipfryer27
Hi

The wiki has examples of using encoders https://www.flowcode.co.uk/wiki/index.p ... ral_Input)

You should be able to modify to include flashing a LED depending on if the value increases or decreases.

Regards