Added one task
Dependencies: mbed
mylib/inc/tim.h
- Committer:
- PicYusuke
- Date:
- 2017-05-26
- Revision:
- 0:fb4269aa5fb4
File content as of revision 0:fb4269aa5fb4:
#ifndef __TIM_H #define __TIM_H #include "mbed.h" /*-----繰り返しタイマ割り込み-----*/ extern Ticker flipper1; extern Ticker flipper2; extern Ticker flipper3; /*----------------------------*/ /*------------PWM-------------*/ extern PwmOut pwm1; //tim3 ch2 extern PwmOut pwm2; //tim1 ch3 extern PwmOut pwm3; //tim1 ch1 /*----------------------------*/ void TIM_Init(); /*メインのソースコードにこの名称の関数を書く*/ extern void Flip1_Callback(); extern void Flip2_Callback(); extern void Flip3_Callback(); /*------------------------------------*/ #endif