mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
machine/microbit: add default pin mappings for SPI bus
Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
committed by
Ayke van Laethem
parent
47b667a4b8
commit
5ff5873fe6
@@ -38,9 +38,9 @@ const (
|
||||
|
||||
// SPI pins
|
||||
const (
|
||||
SPI0_SCK_PIN = 0
|
||||
SPI0_MOSI_PIN = 0
|
||||
SPI0_MISO_PIN = 0
|
||||
SPI0_SCK_PIN = 23 // P13 on the board
|
||||
SPI0_MOSI_PIN = 21 // P15 on the board
|
||||
SPI0_MISO_PIN = 22 // P14 on the board
|
||||
)
|
||||
|
||||
// LED matrix pins
|
||||
|
||||
Reference in New Issue
Block a user