stm32l0: add pwm

This commit is contained in:
Kenneth Bell
2021-05-08 15:53:17 -07:00
committed by Ron Evans
parent 2c4b507d34
commit 3145c2747e
5 changed files with 363 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
// +build stm32l0
package main
import "machine"
var (
pwm = &machine.TIM2
pinA = machine.PA0
pinB = machine.PB3
)