github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/examples/pwm/nucleo-l031k6.go (about)

     1  //go:build stm32l0
     2  
     3  package main
     4  
     5  import "machine"
     6  
     7  var (
     8  	pwm  = &machine.TIM2
     9  	pinA = machine.PA0
    10  	pinB = machine.PB3
    11  )