github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/examples/dac/circuitplay_express.go (about)

     1  //go:build circuitplay_express
     2  
     3  package main
     4  
     5  import (
     6  	"machine"
     7  )
     8  
     9  func init() {
    10  	enable := machine.PA30
    11  	enable.Configure(machine.PinConfig{Mode: machine.PinOutput})
    12  	enable.Set(true)
    13  }