aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/examples/pwm/arduino-mega1280.go
blob: a1fafe0bced7fac3856faefd8053508b90ba1fef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//go:build arduino_mega1280

package main

import "machine"

var (
	// Configuration on an Arduino Uno.
	pwm  = machine.Timer3
	pinA = machine.PH3 // pin 6 on the Mega
	pinB = machine.PH4 // pin 7 on the Mega
)