mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 19:43:44 +00:00
target: add PWM constant values for Arduino UNO Q
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
//go:build arduino_uno_q
|
||||
|
||||
package main
|
||||
|
||||
import "machine"
|
||||
|
||||
var (
|
||||
pwm = &machine.TIM3
|
||||
pinA = machine.D3 // PB0 = TIM3_CH3
|
||||
pinB = machine.D6 // PB1 = TIM3_CH4
|
||||
)
|
||||
Reference in New Issue
Block a user