Add PICO_DEFAULT_SPI pins to pico.h (#225)

(and define min and max values for some of the PICO_DEFAULT_* configs)
This commit is contained in:
Andrew Scheller
2021-03-04 14:46:14 +00:00
committed by graham sanderson
parent 2b1dbfa3d2
commit 62b2d33e8f
4 changed files with 20 additions and 3 deletions

View File

@ -48,7 +48,7 @@ extern "C" {
typedef struct i2c_inst i2c_inst_t;
// PICO_CONFIG: PICO_DEFAULT_I2C, Define the default I2C for a board, group=hardware_i2c
// PICO_CONFIG: PICO_DEFAULT_I2C, Define the default I2C for a board, min=0, max=1, group=hardware_i2c
// PICO_CONFIG: PICO_DEFAULT_I2C_SDA_PIN, Define the default I2C SDA pin, min=0, max=29, group=hardware_i2c
// PICO_CONFIG: PICO_DEFAULT_I2C_SCL_PIN, Define the default I2C SCL pin, min=0, max=29, group=hardware_i2c