Toggle switch delay when using 4 bluetooth relays

Hi,

I have a 4 relay board that I can connect to via bluetooth. I've setup 4 buttons to switch the relays on and off. It works, but when I press relay 1 button, it only takes one press, but when I press relay 2, I have to press it twice. This also applies to the other buttons.

I've be searching the internet to solve this problem but I cannot find any solution.

I think it's got to do with the initialize global or something like that. I need the buttons to be completely separate from each other I think.

Cheers

Why don't you share the relevant blocks? Else we only can guess what is happening.

Hi,

That's a good idea (I'm new to the forum).

I could not find any Youtube video showing how to fix this problem or showing the actual program, so if I get it sorted, I'll do a Youtube tutorial on this.

Hi Folks,

I managed to work it out. Sometimes it's better not to over complicate things (see attached solution). It is working fine now.

Cheers

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.