I have a project that incorporates an arduino alongside the Pixelblaze (pico). It does 2 things, it enables/disables the PB via the enable pad on the bottom, and it also interfaces between a rotary encoder and the PB. It does so by “spoofing” a sensor board, every time the encoder value changes or the button is pressed, the arduino sends a serial frame that the PB interprets as sensor readings.
I also have a large, singular “pattern” that runs, containing 5 or so actual led patterns that can be cycled through via the encoder button.
So the problem: Often (not always, but usually) upon enabling the PB, it will not respect any serial frames from the arduino until I connect to wifi, go into the UI, and open the master pattern in the editor. As soon as I click “edit”, the LEDs light up and everything works fine until the next power cycle. Most of the time when powering on the PB the LEDs stay dark, and playing with the encoder has no effect. Since the brightness is directly tied to analogInput, this would seem consistent with a default on condition of all sensor values being 0 and the PB ignoring all serial frames from the arduino until the editor is enabled.
Very confusing. Suggestions welcome.