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

     1  //go:build stm32f4disco
     2  
     3  package main
     4  
     5  import "machine"
     6  
     7  var (
     8  	// These pins correspond to LEDs on the discovery
     9  	// board
    10  	pwm  = &machine.TIM4
    11  	pinA = machine.PD12
    12  	pinB = machine.PD13
    13  )