Skip to content

Commit b3e234c

Browse files
authored
Update CMakeLists.txt for SPI1
1 parent 4015d97 commit b3e234c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ if (NOT PICO_PROGRAM_MAIN_ENTRY)
1111

1212
# Default output data/clocks pin for the SPI LED strips (only for apa102, not for sk6812/ws2812b)
1313
# only certain pairs of pins are allowed for selected SPI interface (refer to "readme.md")
14-
set(OUTPUT_SPI_DATA_PIN 3)
15-
set(OUTPUT_SPI_CLOCK_PIN 2)
16-
set(OUTPUT_SPI_INTERFACE spi0)
14+
set(OUTPUT_SPI_DATA_PIN 15)
15+
set(OUTPUT_SPI_CLOCK_PIN 14)
16+
set(OUTPUT_SPI_INTERFACE spi1)
1717

1818
# Use multi-segment, starting index of second led strip or OFF to disable
1919
set(SECOND_SEGMENT_INDEX 300)

0 commit comments

Comments
 (0)