ピン変化割り込み拡張しよう的な

Dependents:   inte_mod_test test_irm2121 BallCheck_IRM2121_InterrputInAdd CatPot_SensorRight

Revision:
3:1cc9d9e3cf8c
Parent:
1:c63d872cfdb7
--- a/interruptin_mod.cpp	Sat Nov 15 00:34:10 2014 +0000
+++ b/interruptin_mod.cpp	Wed Dec 03 07:31:00 2014 +0000
@@ -7,14 +7,14 @@
     
     void interruptin_mod::fall_disable(void (*fptr)(void)){
             _rise.attach(fptr);
-            gpio_irq_set(&gpio_irq, IRQ_RISE, 0);
+            gpio_irq_set(&gpio_irq, IRQ_RISE, NULL);
         
     }
         
     void interruptin_mod::rise_disable(void (*fptr)(void)) {
         
             _fall.attach(fptr);
-            gpio_irq_set(&gpio_irq, IRQ_FALL, 0);
+            gpio_irq_set(&gpio_irq, IRQ_FALL, NULL);
     
     }