mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-07 12:54:26 +02:00
Updated NeoPixelBus object (markdown)
@@ -119,6 +119,17 @@ It will use the available hardware SPI support for the board you build with.
|
||||
Generally the clock and data pins are not changeable for hardware support and thus the Pins argument is omitted on the constructor. If the pins are changeable like on the ESP32, then provide the pins to `Begin`.
|
||||
The hardware pins on the board are often labeled as MOSI for data, and MSCLK or CLK for the clock.
|
||||
|
||||
The default SPI clock speed is 10MHz. To use another clock speed, choose one of the following instead of `DotStarSpiMethod`:
|
||||
|
||||
```
|
||||
DotStarSpi40MhzMethod
|
||||
DotStarSpi20MhzMethod
|
||||
DotStarSpi10MhzMethod
|
||||
DotStarSpi2MhzMethod
|
||||
DotStarSpi1MhzMethod
|
||||
DotStarSpi500KhzMethod
|
||||
```
|
||||
|
||||
## DotStarMethod
|
||||
This method should only be used with DotStar color features. It will use two provided pins for clock and data to implement a software SPI.
|
||||
|
||||
|
Reference in New Issue
Block a user