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
Suggested Topics
-
Welcome
Announcements • 23 Mar 2014, 08:24 • hek 2 Apr 2014, 14:39 -
Wio-E5 (STM32 and SX1262)
My Project • 31 Dec 2024, 17:52 • nagelc 25 Jan 2025, 20:21 -
Water Filtering and Sterilization and Hot Water Recirculation
My Project • 10 Aug 2024, 07:51 • fsgraz 12 Aug 2024, 05:25 -
Alexa Fauxmo - Mysensor Bridge Gateway / BLE - Mysensors Bridge Gateway
My Project • 10 Aug 2024, 08:29 • fsgraz 10 Aug 2024, 08:29 -
BMP280 SPI Adafruit
My Project • 24 Aug 2016, 01:56 • Matt 23 Jan 2025, 16:25 -
A low cost energy meter
My Project • 25 Jan 2024, 01:03 • OldSurferDude 12 Aug 2024, 06:03