mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-07-26 10:38:41 +00:00
13 lines
243 B
Go
13 lines
243 B
Go
//go:build digispark
|
|
|
|
package main
|
|
|
|
import "machine"
|
|
|
|
func init() {
|
|
// This is the pin assignment for the Digispark only.
|
|
// Replace neo and led in the code below to match the pin
|
|
// that you are using if different.
|
|
neo = machine.Pin(0)
|
|
}
|