diff options
| author | James Munns <[email protected]> | 2025-01-02 18:25:39 +0100 |
|---|---|---|
| committer | James Munns <[email protected]> | 2025-01-02 18:25:39 +0100 |
| commit | 5c74e6085c24d8808433fa8862c7eecb4ff767ba (patch) | |
| tree | 41715f815a1bbb320e71c2412bc7e3e4354c6a69 /examples/nrf52840 | |
| parent | 41790316eb06a02b909b99df2c4fd5c0bc855445 (diff) | |
Clarify
Diffstat (limited to 'examples/nrf52840')
| -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. |
