mirror of
https://github.com/c0de-archive/pixoPython.git
synced 2025-08-06 23:18:46 +00:00
switch to Hardware SPI
This commit is contained in:
@@ -8,5 +8,5 @@ DOTSTAR_TX = Pin(19)
|
||||
DOTSTAR_RX = Pin(17) # Note: This is unused as the LEDs don't send data back
|
||||
|
||||
# Setup the LED board
|
||||
DOTSTAR_SPI = SPI(sck=DOTSTAR_CLOCK, mosi=DOTSTAR_TX, miso=DOTSTAR_RX)
|
||||
BOARD = dotstar.DotStar(DOTSTAR_SPI, TOTAL_DOTS, brightness=0.2, auto_write=False)
|
||||
DOTSTAR_SPI = SPI(2, sck=DOTSTAR_CLOCK, mosi=DOTSTAR_TX, miso=DOTSTAR_RX)
|
||||
BOARD = dotstar.DotStar(DOTSTAR_SPI, TOTAL_DOTS, brightness=0.2, auto_write=False)
|
||||
|
Reference in New Issue
Block a user