From 5ff5873fe66c470ca7ff11baaa92fcef74d12044 Mon Sep 17 00:00:00 2001 From: Ron Evans Date: Fri, 21 Dec 2018 16:22:36 +0100 Subject: [PATCH] machine/microbit: add default pin mappings for SPI bus Signed-off-by: Ron Evans --- src/machine/board_microbit.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/machine/board_microbit.go b/src/machine/board_microbit.go index 41222a97..8e855dd6 100644 --- a/src/machine/board_microbit.go +++ b/src/machine/board_microbit.go @@ -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