AronHetLam / ATEM_tally_light_with_ESP8266

Wireless tally light for use with ATEM switchers, which connects over WiFi, using an ESP WiFi module.
GNU General Public License v3.0
154 stars 38 forks source link

Second LED with only red-green color #62

Closed jmvb-cl closed 2 years ago

jmvb-cl commented 2 years ago

It is possible that the second LED, which in my case, is locate in the vision sight of talent, but unlike the one which is in the camera man sight, only turns on the red (and green) lights? I mean, no blue when connecting, no white when is no connection or no pink when is no Atem communication? Only red and green?

AronHetLam commented 2 years ago

Yes and no. The option is there to put a second led on three other pins (take a look in the guide) that you can put into program only mode, however it will still be blue, pink and white when not connected. You could solder only the red pin, but it would still be red when "pink" or "white".

Another option which would give you only red when in program is using an LED strip and selecting "no status led" in the settings, and "program only" for led 1, and put the operator led on the pins for led 2.

It should be described further in the guide.

jmvb-cl commented 2 years ago

Yes and no. The option is there to put a second led on three other pins (take a look in the guide) that you can put into program only mode, however it will still be blue, pink and white when not connected. You could solder only the red pin, but it would still be red when "pink" or "white".

Another option which would give you only red when in program is using an LED strip and selecting "no status led" in the settings, and "program only" for led 1, and put the operator led on the pins for led 2.

It should be described further in the guide.

I mean, like this guy, who is using your project

https://youtu.be/wSt9Ec2ssl8

AronHetLam commented 2 years ago

I assume he's using my project, but it has to be either a very early version, or he has changed the code to not show the connection status.

jmvb-cl commented 2 years ago

There is no way to change the current code blue-pink color behavior?

AronHetLam commented 2 years ago

There is a way.

If you replace color with LED_OFF in line 371 shown in below snippet, it should turn off the second LED whenever it's indicating status, as I'm using setBothLEDs() for that.

https://github.com/AronHetLam/ATEM_tally_light_with_ESP8266/blob/74231d337797b924ac395d2ae996543dfe585f84/ATEM_tally_light/ATEM_tally_light.ino#L368-L372

jmvb-cl commented 2 years ago

371 setLED(color, PIN_RED2, PIN_GREEN2, LED_OFF);

Like this?

AronHetLam commented 2 years ago

371 setLED(color, PIN_RED2, PIN_GREEN2, LED_OFF);

Like this?

No, like this: setLED(LED_OFF, PIN_RED2, PIN_GREEN2, PIN_BLUE2);

jmvb-cl commented 2 years ago

Super cool! done flawlessly! Thank you!