-i2cPorts = (
- (0, I2C0_SCL, I2C0_SDA),
- (1, I2C1_SCL, I2C1_SDA),
-)
-
-# ordered as uartId, txId, rxId
-uartPorts = (
- (1, UART1_TXD, UART1_RXD),
- (2, UART2_TXD, UART2_RXD),
+# ordered as i2cId, sclId, sdaId
+i2cPorts = ((0, I2C0_SCL, I2C0_SDA), (1, I2C1_SCL, I2C1_SDA))