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