Added Gopher ARCADE board

This commit is contained in:
Daniel Esteban
2025-09-19 17:20:18 +02:00
committed by Ron Evans
parent 821f2aeae0
commit 109e0767e7
3 changed files with 34 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
//go:build gopher_arcade
package machine
// Return the current CPU frequency in hertz.
func CPUFrequency() uint32 {
return 8000000
}
const (
P5 Pin = PB0
P6 Pin = PB1
P7 Pin = PB2
P2 Pin = PB3
P3 Pin = PB4
P1 Pin = PB5
LED = P1
BUTTON_LEFT = P7
BUTTON_RIGHT = P5
SPEAKER = P6
)