Files
tinygo/src/examples/pwm/stm32f4disco.go
T
2021-05-28 00:02:46 +02:00

14 lines
189 B
Go

// +build stm32f4disco
package main
import "machine"
var (
// These pins correspond to LEDs on the discovery
// board
pwm = &machine.TIM4
pinA = machine.PD12
pinB = machine.PD13
)