github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/machine/board_digispark.go (about) 1 //go:build digispark 2 3 package machine 4 5 // Return the current CPU frequency in hertz. 6 func CPUFrequency() uint32 { 7 return 16000000 8 } 9 10 const ( 11 P0 Pin = PB0 12 P1 Pin = PB1 13 P2 Pin = PB2 14 P3 Pin = PB3 15 P4 Pin = PB4 16 P5 Pin = PB5 17 18 LED = P1 19 )