generated from LailaTheElf/rp2040_c
21 lines
368 B
C
21 lines
368 B
C
#ifndef CONFIG_H
|
|
#define CONFIG_H
|
|
|
|
// pin rgb led on Seeed XIAO RP2040
|
|
#define PIN_RGB_R 17
|
|
#define PIN_RGB_G 16
|
|
#define PIN_RGB_B 25
|
|
|
|
#define PIN_SPI_CLK 2
|
|
#define PIN_SPI_MISO 4
|
|
#define PIN_SPI_MOSI 3
|
|
#define PIN_MAX31856_CS 1
|
|
#define PIN_DISPLAY_CS 0
|
|
#define PIN_DISPLAY_DC 7
|
|
#define PIN_DISPLAY_RST 6
|
|
|
|
#define PIN_W5500_CS 29
|
|
#define W5500_SPI_DRIVER spi0
|
|
|
|
#endif
|