stm32l4: add pwm

This commit is contained in:
Kenneth Bell
2021-05-09 08:02:04 -07:00
committed by Ron Evans
parent 3145c2747e
commit c43a41165a
4 changed files with 212 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
// +build stm32l4
package main
import "machine"
var (
pwm = &machine.TIM2
pinA = machine.PA0
pinB = machine.PB3
)