This commit is contained in:
James Munns 2025-01-02 18:25:39 +01:00
parent 41790316eb
commit 5c74e6085c

View File

@ -20,10 +20,10 @@ use {defmt_rtt as _, panic_probe as _};
// If you're using the nRF52840-DK, the default "Vdd" power source // If you're using the nRF52840-DK, the default "Vdd" power source
// will set the GPIO I/O voltage to 3.0v, using the onboard regulator. // will set the GPIO I/O voltage to 3.0v, using the onboard regulator.
// This can sometimes not be enough to drive the WS2812B signal if you // This can sometimes not be enough to drive the WS2812B signal if you
// are not using an external regulator. If you set the board to "USB" power // are not using an external level shifter. If you set the board to "USB"
// instead (and provide power via the "nRF USB" connector), the board will // power instead (and provide power via the "nRF USB" connector), the board
// instead power the I/Os at 3.3v, which is often enough (but still out of // will instead power the I/Os at 3.3v, which is often enough (but still
// official spec) for the WS2812Bs to work properly. // out of official spec) for the WS2812Bs to work properly.
// In the following declarations, setting the high bit tells the PWM // In the following declarations, setting the high bit tells the PWM
// to reverse polarity, which is what the WS2812B expects. // to reverse polarity, which is what the WS2812B expects.