mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 18:53:29 +00:00
machine/nrf: SPI master implementation
Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
committed by
Ayke van Laethem
parent
23b283366d
commit
06ab3a836f
@@ -30,6 +30,13 @@ const (
|
||||
|
||||
// I2C pins
|
||||
const (
|
||||
SDA_PIN = 26
|
||||
SCL_PIN = 27
|
||||
SDA_PIN = 26 // P0.26
|
||||
SCL_PIN = 27 // P0.27
|
||||
)
|
||||
|
||||
// SPI pins
|
||||
const (
|
||||
SPI0_SCK_PIN = 47 // P1.15
|
||||
SPI0_MOSI_PIN = 45 // P1.13
|
||||
SPI0_MISO_PIN = 46 // P1.14
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user