IRM2121のfork

Fork of IRM2121 by Fumiya Fujisawa

Revision:
1:1f7a3a98a5f5
Parent:
0:fd5c1ea78a7c
diff -r fd5c1ea78a7c -r 1f7a3a98a5f5 IRM2121.h
--- a/IRM2121.h	Sun Nov 09 11:11:37 2014 +0000
+++ b/IRM2121.h	Sat Nov 15 00:38:54 2014 +0000
@@ -4,6 +4,8 @@
  #define MBED_IRM_H
 
 #include "mbed.h"
+#include "interruptin_mod.h"
+
 /** IRM2121  class, based on an InterruptIn pin, and a timer
  *  use RoboCup Junior Soccer to find PULSE BALL.
  
@@ -50,7 +52,7 @@
     
   protected:
     
-    InterruptIn     _event;
+    interruptin_mod     _event;
     Timer           _timer;
 
     bool _Flag;
@@ -61,6 +63,9 @@
     void _Start(void);
     void _Stop (void);
     
+    void (*_start_ptr)();
+    void (*_stop_ptr)();
+    
   };
   
   #endif
\ No newline at end of file