ピン変化割り込み拡張しよう的な
Dependents: inte_mod_test test_irm2121 BallCheck_IRM2121_InterrputInAdd CatPot_SensorRight
Diff: interruptin_mod.h
- Revision:
- 0:fa2477ffef50
- Child:
- 1:c63d872cfdb7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/interruptin_mod.h Thu Nov 13 10:27:52 2014 +0000 @@ -0,0 +1,18 @@ +#ifndef INTE_MOD +#define INTE_MOD + + +#include"mbed.h" + +class interruptin_mod:InterruptIn{ + + public: + + interruptin_mod(PinName pin); + + void fall_disable(void (*fptr)(void)); + void rise_disable(void (*fptr)(void)); + + }; + +#endif \ No newline at end of file