Rotary encoder + led r and led l

For general Flowcode discussion that does not belong in the other sections.
Post Reply
solozerouno
Posts: 113
http://meble-kuchenne.info.pl
Joined: Tue Dec 08, 2020 4:36 am
Has thanked: 2 times
Been thanked: 2 times

Flowcode v10 Rotary encoder + led r and led l

Post 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

chipfryer27
Valued Contributor
Posts: 1147
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 284 times
Been thanked: 412 times

Re: Rotary encoder + led r and led l

Post 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

solozerouno
Posts: 113
Joined: Tue Dec 08, 2020 4:36 am
Has thanked: 2 times
Been thanked: 2 times

Re: Rotary encoder + led r and led l

Post 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.

solozerouno
Posts: 113
Joined: Tue Dec 08, 2020 4:36 am
Has thanked: 2 times
Been thanked: 2 times

Flowcode v10 Please help me....

Post 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.

kersing
Valued Contributor
Posts: 157
Joined: Wed Dec 02, 2020 7:28 pm
Has thanked: 64 times
Been thanked: 58 times

Re: Rotary encoder + led r and led l

Post by kersing »

Please do not double post the same question

solozerouno
Posts: 113
Joined: Tue Dec 08, 2020 4:36 am
Has thanked: 2 times
Been thanked: 2 times

Re: Rotary encoder + led r and led l

Post by solozerouno »

please help me with an example. Thanks solozerouno

chipfryer27
Valued Contributor
Posts: 1147
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 284 times
Been thanked: 412 times

Re: Rotary encoder + led r and led l

Post 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

Post Reply