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

Turn Light Off If GPIO Input equals High #6

Open
criative opened this issue May 18, 2019 · 0 comments
Open

Turn Light Off If GPIO Input equals High #6

criative opened this issue May 18, 2019 · 0 comments

Comments

@criative
Copy link

I'm trying to figure out how to add a physical switch, and the simplest way I can figure based on my current setup is --->>> if GPIO 12 = High (switch is on) run the same function as /off to switch

This isn't an issue with your code at all, just trying to blend Raspberry Pi w/ an Arduino, Neopixels, Mosfet driven White pixel strip, and an on off switch... and this last little snippet of code is where I'm stuck before I can actually start using this thing.

Any chance you could help me out?

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

1 participant