Start neopixels when présentation fails
-
-
Hello,
I'm working on a node with neopixels.
My problem is that my neopixels must be (sometimes) ON when there is no gateway. As i know setup() and loop() starts after presentation of the node to the gateway. Is there any solution to my problem ?Thanks
-
Welcome tothe forum @tommies
Yes. Use MY_TRANSPORT_WAIT_READY_MS
If you search the forum for that keyword you'll find some helpful discussions and code.
@mfalkvidd Thanks a lot for your quick reply.
-
Thanks.
Everything is ok.
I now have a node with 3 push-buttons for 3 colors settings and vocals commands for lazy persons or Tony stark. It's for a Iron Man reactor with neopixels...
I wanted to Say : "Jarvis.. Iron Man laser" to have flash effects with neopixels.For this i use mysensors + jeedom + Google Home mini + ifft.
Need to had Wait(200) in my loop to be sure to receive message from gateway.
Thanks again
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login