stm32l5: add pwm

This commit is contained in:
Kenneth Bell
2021-05-08 09:39:29 -07:00
committed by Ron Evans
parent ee167f15de
commit 2c4b507d34
5 changed files with 259 additions and 16 deletions
+11
View File
@@ -0,0 +1,11 @@
// +build stm32l5
package main
import "machine"
var (
pwm = &machine.TIM1
pinA = machine.PA8
pinB = machine.PA9
)