Reading the value I see on the oscilloscope

Have a look here:

https://mcuoneclipse.com/2016/05/22/nxp-flexio-generator-for-the-ws2812b-led-stripe-protocol/