Controlling NeoPixels with STM32

Because for the WS2812, T_{PWM} = 1.25\mu{}s, so

ARR = \frac{1.25 \times 10^{-6}}{\frac{1}{84 \times 10^6}} - 1 = 104

Yes, 24 bits. Recall Step 3c in the Procedure:

No. Assuming the LEDs are powered, the control signal itself dictates their illumination. Recall from the WS2812 description:

1 Like