mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-14 16:03:41 +00:00
machine/samd21: I2C implementation
Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
committed by
Ayke van Laethem
parent
38c5e384af
commit
3ebf464da2
@@ -29,3 +29,9 @@ const (
|
||||
UART_TX_PIN = D1
|
||||
UART_RX_PIN = D0
|
||||
)
|
||||
|
||||
// I2C pins
|
||||
const (
|
||||
SDA_PIN = 22 // // SDA: SERCOM3/PAD[0]
|
||||
SCL_PIN = 23 // // SCL: SERCOM3/PAD[1]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user