Browse Source

rp2/boards/ARDUINO_NANO_RP2040_CONNECT: Set default I2C pins.

pull/8141/head
iabdalkader 3 years ago
committed by Damien George
parent
commit
f4487a0049
  1. 8
      ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h

8
ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h

@ -24,6 +24,14 @@
#define MICROPY_HW_SPI1_MOSI (11) #define MICROPY_HW_SPI1_MOSI (11)
#define MICROPY_HW_SPI1_MISO (8) #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. // Bluetooth config.
#define MICROPY_HW_BLE_UART_ID (1) #define MICROPY_HW_BLE_UART_ID (1)
#define MICROPY_HW_BLE_UART_BAUDRATE (119600) #define MICROPY_HW_BLE_UART_BAUDRATE (119600)

Loading…
Cancel
Save