Added one task

Dependencies:   mbed

Revision:
0:fb4269aa5fb4
diff -r 000000000000 -r fb4269aa5fb4 mylib/inc/adc.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mylib/inc/adc.h	Fri May 26 03:51:19 2017 +0000
@@ -0,0 +1,11 @@
+#include "mbed.h"
+
+#define ADC_VREF 3.3f       //ADC基準電圧
+
+/*----------Internal ADC------------*/
+extern AnalogIn ain_cup;    //測距センサ用ADCポート
+extern AnalogIn ain_lift;
+extern AnalogIn ain_shelf;
+/*----------------------------------*/
+
+float Ain_To_Vo(AnalogIn *);
\ No newline at end of file