mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 04:53:42 +00:00
stm32l4: add pwm
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// +build stm32l4
|
||||
|
||||
package main
|
||||
|
||||
import "machine"
|
||||
|
||||
var (
|
||||
pwm = &machine.TIM2
|
||||
pinA = machine.PA0
|
||||
pinB = machine.PB3
|
||||
)
|
||||
Reference in New Issue
Block a user