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

unable to assign GPIO0/D3 as a valid relay output pin #375

Closed
garymueller opened this issue Oct 2, 2021 · 6 comments
Closed

unable to assign GPIO0/D3 as a valid relay output pin #375

garymueller opened this issue Oct 2, 2021 · 6 comments

Comments

@garymueller
Copy link
Contributor

--------- Instructions --------
Please provide answers directly below each section.
--------- Instructions ---------

ESPixelStick Firmware Version
head

Hardware Version
wemos mini D1

Binary release or compiled yourself?
compiled

Operating System (and version)
windows 10

Web Browser (and version)
google chrome Version 94.0.4606.61 (Official Build) (64-bit)

Access Point
??

Describe the bug
Unable to assign GPIO0 as a valid option for relay output. This is due to the Relay_DEFAULT_GPIO_ID being assigned to 0 which is also the value of GPIO0. The validate function compares the gpioID to the Relay_DEFAULT_GPIO_ID and if they are the same disables the relay. Solution is to use a value for default pin that does not overlap with actual pin values. I tried -1 and it worked ... but the front end didnt appear to like it.

@MartinMueller2003 MartinMueller2003 self-assigned this Oct 2, 2021
@MartinMueller2003
Copy link
Collaborator

MartinMueller2003 commented Oct 2, 2021 via email

@garymueller
Copy link
Contributor Author

no relation that I'm aware of. Mueller ancestry runs through Illinois/Michigan areas.

@MartinMueller2003
Copy link
Collaborator

Cool

I have removed the code that prevents the use of GPIO 0. Should be on the main branch in a few days.

@MartinMueller2003
Copy link
Collaborator

I have a cousin named Gary Mueller hence my question. My Mueller line comes through Connecticut and Lithuania.

@Panzercou
Copy link

Will the wemos d1 mini have more capacity than 1200 leds?
Can't you put 10,000 leds?

@Panzercou
Copy link

How can I change the pin, or the number of leds?

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

No branches or pull requests

4 participants