Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status Leds #136

Open
screwy39 opened this issue May 16, 2021 · 1 comment
Open

Status Leds #136

screwy39 opened this issue May 16, 2021 · 1 comment

Comments

@screwy39
Copy link

Hi, fantastic project.

Not so much an issue but possibly an addition unless I've over looked it or cant get it to work.
On the original version the 2 status leds did a combination of flashes depending wifi/dmx status. In V2 with my limited coding abilities I believe it looks like there are 2 options depending on which is uncommented. 1 the WS2812 or 2 the APA106. Is that right?
I am using a esp8266 01 would it be possible to have a 3rd option of the single led flashing as in the original? I just want to use it as a basic dmx out.
Thanks

@LoneWalkerWolf
Copy link

LoneWalkerWolf commented Apr 22, 2023

Feel free to email me at [email protected]. I have unofficially taken over this project, as Matt seems to be offline / not contributing to this project anymore. We sell a version of this project on our website: expanseelectronics.com, and you are free to send us an email at any time with any further questions.

In response to your question: Unfortunately, there isn't a way to do this simply. You'd have to modify espDMX_RDM.cpp and espDMX_RDM.h to include this feature. In the V1 project, this is achieved using these lines of code:

      if (dmx->ledPin != DMX_NO_LED) {
        if (dmx->led_timer++ >= 2) {
          analogWrite(dmx->ledPin, dmx->ledIntensity);
          dmx->led_timer = 0;
        }else
          analogWrite(dmx->ledPin, 0);
      }

However, in this V2 version, these lines are omitted from the configuration file. You'd have to add these in manually and change a lot of code for this to work.

I hope this answers your question!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants