aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/board_nucleol031k6.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/machine/board_nucleol031k6.go')
-rw-r--r--src/machine/board_nucleol031k6.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/machine/board_nucleol031k6.go b/src/machine/board_nucleol031k6.go
index 695dd8b0e..a758ba932 100644
--- a/src/machine/board_nucleol031k6.go
+++ b/src/machine/board_nucleol031k6.go
@@ -14,6 +14,12 @@ const (
)
const (
+ // This board does not have a user button, so
+ // use first GPIO pin by default
+ BUTTON = PA0
+)
+
+const (
// Arduino Pins
A0 = PA0 // ADC_IN0
A1 = PA1 // ADC_IN1