-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Selectable Pins for LED Disp and Sensors - Enhancement #79
Comments
+1 from me as well. I'd love to create an option which allows to shift the D8 pin to D5, as this would allow to re-use components from AWTRIX project (AWTRIX PCB expects DFPlayer on D5). |
I started modifying the source in order to make the pin assignments dynamic. I made quite a lot progress for the sensors. However, when I came across the matrix pin, I had to learn that this cannot be done dynamically on a ESP8266. The following discussion explains the reasons behind this: The only option would be to create as many FastLED objects within the program as pins should be available, then decide dynamically which one to use. Disadvantage of that solution: it consumes quite a lot memory. Given that @o0shojo0o even moved the webui to github rather than keeping it on flash and in memory, I suppose memory will be an issue. So, I will try to finish my work on dynamic pins for sensors during the next couple of days and upload the code as PR, which allows @o0shojo0o to decide whether to accept my modifications or not. But LEDs will remain assigned to D4. |
I have finished working on the pin assignment version. |
A+ for the recent Updats. Is it possible to have a selective Pin for the LED Display and othe sensors. I note the common pin for the Wemos D1 Mini shield uses D4 the same as the LED display currently. https://hobbycomponents.com/shields/868-wemos-d1-mini-dht-temphum-shield.
The text was updated successfully, but these errors were encountered: