github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/examples/i2c-target/main_feather_nrf52840.go (about) 1 //go:build feather_nrf52840 2 3 package main 4 5 import "machine" 6 7 const ( 8 TARGET_SCL = machine.A5 9 TARGET_SDA = machine.A4 10 ) 11 12 var ( 13 controller = machine.I2C0 14 target = machine.I2C1 15 )