From c04897fe0559d8debc033bcd43b8b7991051b4f4 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Fri, 4 Oct 2019 14:15:05 +0200 Subject: [PATCH] fix --- snippets/test1/test1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/test1/test1.c b/snippets/test1/test1.c index 5f3816b..1f29f2a 100644 --- a/snippets/test1/test1.c +++ b/snippets/test1/test1.c @@ -118,7 +118,7 @@ void init() { digitalWrite(CTRL_OUT, 0); pinMode(INTR_IN, INPUT); - wiringPiISR(INTR_IN, INT_EDGE_FALLING, isr); + wiringPiISR(INTR_IN, INT_EDGE_RISING, isr); } void initCounter() {