PIR to SAMD21 to WS28212b Fade Color 250730

Hello gcjr alto777 and the Arduino forum,

Shout out to gcjr. Made change suggested in post #22
and the strip now operates as intended.

That is, the strip
begins blue, transitions to red, and then transitions (without
interruption) from red to blue. The strip cycles
blue/red/blue in six seconds four times.
The strip then stops at blue and waits
to be retriggered.

Complete sketch
PIR_to_SAMD21_to_WS28212b_Fade_Color_250801_3.ino
attached herewith below.

Third time is charmed.

Thanks.

Allen
PIR_to_SAMD21_to_WS28212b_Fade_Color_250801_3.ino (1.9 KB)