Rotary encoder + led r and led l
-
- Posts: 116
- http://meble-kuchenne.info.pl
- Joined: Tue Dec 08, 2020 4:36 am
- Has thanked: 2 times
- Been thanked: 2 times
Rotary encoder + led r and led l
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
-
- Valued Contributor
- Posts: 1374
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 331 times
- Been thanked: 479 times
Re: Rotary encoder + led r and led l
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
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
-
- Posts: 116
- Joined: Tue Dec 08, 2020 4:36 am
- Has thanked: 2 times
- Been thanked: 2 times
Re: Rotary encoder + led r and led l
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.
-
- Posts: 116
- Joined: Tue Dec 08, 2020 4:36 am
- Has thanked: 2 times
- Been thanked: 2 times
Please help me....
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.
-
- Posts: 116
- Joined: Tue Dec 08, 2020 4:36 am
- Has thanked: 2 times
- Been thanked: 2 times
-
- Valued Contributor
- Posts: 1374
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 331 times
- Been thanked: 479 times
Re: Rotary encoder + led r and led l
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
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