mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 21:13:39 +00:00
1a6bed3305
* machine/samd51: add DAC support
14 lines
188 B
Go
14 lines
188 B
Go
// +build circuitplay_express
|
|
|
|
package main
|
|
|
|
import (
|
|
"machine"
|
|
)
|
|
|
|
func init() {
|
|
enable := machine.PA30
|
|
enable.Configure(machine.PinConfig{Mode: machine.PinOutput})
|
|
enable.Set(true)
|
|
}
|