Added one task

Dependencies:   mbed

Committer:
PicYusuke
Date:
Fri May 26 03:51:19 2017 +0000
Revision:
0:fb4269aa5fb4
hoge

Who changed what in which revision?

UserRevisionLine numberNew contents of line
PicYusuke 0:fb4269aa5fb4 1 #include "mbed.h"
PicYusuke 0:fb4269aa5fb4 2
PicYusuke 0:fb4269aa5fb4 3 #define ADC_VREF 3.3f //ADC基準電圧
PicYusuke 0:fb4269aa5fb4 4
PicYusuke 0:fb4269aa5fb4 5 /*----------Internal ADC------------*/
PicYusuke 0:fb4269aa5fb4 6 extern AnalogIn ain_cup; //測距センサ用ADCポート
PicYusuke 0:fb4269aa5fb4 7 extern AnalogIn ain_lift;
PicYusuke 0:fb4269aa5fb4 8 extern AnalogIn ain_shelf;
PicYusuke 0:fb4269aa5fb4 9 /*----------------------------------*/
PicYusuke 0:fb4269aa5fb4 10
PicYusuke 0:fb4269aa5fb4 11 float Ain_To_Vo(AnalogIn *);