sam: add support for pin change interrupts

This commit is contained in:
Ayke van Laethem
2020-01-15 12:58:40 +01:00
committed by Ron Evans
parent 19c7965fc5
commit c72f9eb08c
2 changed files with 138 additions and 0 deletions
@@ -0,0 +1,10 @@
// +build circuitplay_express
package main
import "machine"
const (
buttonMode = machine.PinInputPulldown
buttonPinChange = machine.PinFalling
)