From 86a8d7cd563979f74f1e0fad1354b3945e4e4a78 Mon Sep 17 00:00:00 2001 From: David Todd Date: Mon, 27 Jan 2020 19:01:14 -0600 Subject: [PATCH] switch to Hardware SPI --- pixo/board.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pixo/board.py b/pixo/board.py index b6e2b52..e667f1d 100644 --- a/pixo/board.py +++ b/pixo/board.py @@ -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) \ No newline at end of file +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)