nrf: add support for pin change interrupts

This commit is contained in:
Ayke van Laethem
2020-01-13 16:21:16 +01:00
committed by Ron Evans
parent c248418dbe
commit 19c7965fc5
5 changed files with 140 additions and 4 deletions
+10
View File
@@ -0,0 +1,10 @@
// +build pca10040
package main
import "machine"
const (
buttonMode = machine.PinInputPullup
buttonPinChange = machine.PinRising
)