generated from LailaTheElf/rp2040_c
add driver for W5500
This commit is contained in:
20
src/config.h
Normal file
20
src/config.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user