diff options
| -rw-r--r-- | examples/nrf52840/src/bin/pwm_sequence_ws2812b.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/nrf52840/src/bin/pwm_sequence_ws2812b.rs b/examples/nrf52840/src/bin/pwm_sequence_ws2812b.rs index 6f04a53b8..df8da8800 100644 --- a/examples/nrf52840/src/bin/pwm_sequence_ws2812b.rs +++ b/examples/nrf52840/src/bin/pwm_sequence_ws2812b.rs | |||
| @@ -20,10 +20,10 @@ use {defmt_rtt as _, panic_probe as _}; | |||
| 20 | // If you're using the nRF52840-DK, the default "Vdd" power source | 20 | // If you're using the nRF52840-DK, the default "Vdd" power source |
| 21 | // will set the GPIO I/O voltage to 3.0v, using the onboard regulator. | 21 | // will set the GPIO I/O voltage to 3.0v, using the onboard regulator. |
| 22 | // This can sometimes not be enough to drive the WS2812B signal if you | 22 | // This can sometimes not be enough to drive the WS2812B signal if you |
| 23 | // are not using an external regulator. If you set the board to "USB" power | 23 | // are not using an external level shifter. If you set the board to "USB" |
| 24 | // instead (and provide power via the "nRF USB" connector), the board will | 24 | // power instead (and provide power via the "nRF USB" connector), the board |
| 25 | // instead power the I/Os at 3.3v, which is often enough (but still out of | 25 | // will instead power the I/Os at 3.3v, which is often enough (but still |
| 26 | // official spec) for the WS2812Bs to work properly. | 26 | // out of official spec) for the WS2812Bs to work properly. |
| 27 | 27 | ||
| 28 | // In the following declarations, setting the high bit tells the PWM | 28 | // In the following declarations, setting the high bit tells the PWM |
| 29 | // to reverse polarity, which is what the WS2812B expects. | 29 | // to reverse polarity, which is what the WS2812B expects. |
