
Added one task
Dependencies: mbed
Diff: mylib/inc/gpio.h
- Revision:
- 0:fb4269aa5fb4
diff -r 000000000000 -r fb4269aa5fb4 mylib/inc/gpio.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mylib/inc/gpio.h Fri May 26 03:51:19 2017 +0000 @@ -0,0 +1,20 @@ +#ifndef __GPIO_H +#define __GPIO_H + +#include "mbed.h" + +extern DigitalOut servo; + +/*---------Interrupt In----------*/ +extern InterruptIn intrrput_in1; +extern InterruptIn intrrput_in2; +/*-------------------------------*/ + +void GPIO_Init(); + +/*メインのソースコードにこの名称の関数を書く*/ +extern void PinIntrrpt1_Callback(); +extern void PinIntrrpt2_Callback(); +/*------------------------------------*/ + +#endif \ No newline at end of file