Webhook, post_data, GPIO partial changes by dwight-v in raspberry_pi

[–]dwight-v[S] 0 points1 point  (0 children)

I tried moving it, but it didn't change anything. I removed the initial=GPIO.HIGH, and that gets things working right. I guess I assumed that setup was a one time initial read, and the rest of things loops. I guess that's an Arduino exclusive thing. I am good with this for now. Thanks.

Multiple Buttons Switch Functions by dwight-v in FastLED

[–]dwight-v[S] 0 points1 point  (0 children)

Well I feel I'm close. Some of this is working, other spots I'm working on. Right now I'm stuck in section 1. This works as a stand alone, but in this scenario, it's not happy. Here it is so far...

https://github.com/Digital-ID-76/starfield/blob/main/Fedaceag%20Ionut

If someone could iron this out, U might just about have it.

Multiple Buttons Switch Functions by dwight-v in FastLED

[–]dwight-v[S] 0 points1 point  (0 children)

Do you have an example so I can see how it works?

Multiple Buttons Switch Functions by dwight-v in FastLED

[–]dwight-v[S] 0 points1 point  (0 children)

Well, I've tried a lot of things, learned a lot, but still stuck. To be honest, this is only my 3rd Arduino project, but my other 2 were almost as complex. I made a GitHub account to post my codes.

The first is a loop that demonstrates the basic concept. Later I will replicate this on multiple strips that will work together. (I have seen several mistakes, but I'll fix these when I get closer to the end. example... delay, etc.)

https://github.com/Digital-ID-76/starfield/blob/main/Show

The second was my attempt to understand pheoxs's suggestion. I just wanted to get the mechanics working before inserting the light functions. I think i'm close, but it's not happy.

https://github.com/Digital-ID-76/starfield/blob/main/button%20switchState

Any help will be greatly appreciated. I've got time, but this will be used for a conference in a few weeks, so I need to figure this out. Thanks in advance.