Arduino - Procedure of multiple LEDs doesn't work

Started by CrazyManCZ5 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 11:14, 18. May 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Arduino - Procedure of multiple LEDs doesn't work
Fri, 02/19/2021 - 15:10 (edited)

Hello,

currently I am trying to make procedure, that lights up my LEDs. The problem is when I join the world, only 1 LED lights up. Others are still off.

I am sending here, how the procedures look like.

Defining LEDs

Turning LEDs on

Edited by CrazyManCZ5 on Fri, 02/19/2021 - 15:10
Last seen on 11:14, 18. May 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you mean change the order…
Sun, 02/21/2021 - 10:01

Do you mean change the order of pins ? If I start with different pin, everytime, it lights up only the first one.

Different pin order

Last seen on 14:43, 2. Aug 2022
Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try making the pin in…
Sun, 02/21/2021 - 18:03

Try making the pin in numerical order. 10, 11, 12, 13

Last seen on 11:14, 18. May 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Still the same. Only lights…
Sun, 02/21/2021 - 21:42

Still the same. Only lights up the first one (10).

Last seen on 11:14, 18. May 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've been searching through…
Tue, 02/23/2021 - 10:33

I've been searching through forum and I found this case kind of similar:

https://mcreator.net/tracker/issue/60264

Although, the workaround doesn't work for me much. When i do this workaround it fully lightsup the first LED (green) and the others are not bright as much as the first (see below).

LEDS

Last seen on 11:14, 18. May 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello, I am being really…
Fri, 02/26/2021 - 18:42

Hello, I am being really desperate and I am still thinking about it. I don't know what to do about it. I am begging for your help please. Is someone willing to help me please ? :(

Could you try using last…
Thu, 03/04/2021 - 10:57

Could you try using last snapshot and wait block with different wait intervals for different pins, just for a test?

Last seen on 11:14, 18. May 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I downloaded the latest…
Thu, 03/04/2021 - 13:07

I downloaded the latest snapshot and tried making some procedure. The procedure is set on update tick of block. It works really good now, it lights up one LED after another.

Procedure

Last seen on 11:14, 18. May 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I still wonder if there's a…
Fri, 03/05/2021 - 17:34

I still wonder if there's a way to light them up at the same time

You can try reducing delay…
Sun, 03/07/2021 - 09:57

You can try reducing delay as long as it works. I will look up while delay is needed when I have some time to work on Link