Skip to content

Commit

Permalink
rp2/boards/ARDUINO_NANO_RP2040_CONNECT: Set default I2C pins.
Browse files Browse the repository at this point in the history
  • Loading branch information
iabdalkader authored and dpgeorge committed Jan 6, 2022
1 parent 79ae709 commit f4487a0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h
Expand Up @@ -24,6 +24,14 @@
#define MICROPY_HW_SPI1_MOSI (11)
#define MICROPY_HW_SPI1_MISO (8)

// I2C0 config.
#define MICROPY_HW_I2C0_SCL (13)
#define MICROPY_HW_I2C0_SDA (12)

// I2C1 config.
#define MICROPY_HW_I2C1_SCL (27)
#define MICROPY_HW_I2C1_SDA (26)

// Bluetooth config.
#define MICROPY_HW_BLE_UART_ID (1)
#define MICROPY_HW_BLE_UART_BAUDRATE (119600)
Expand Down

0 comments on commit f4487a0

Please sign in to comment.