For Terrance

Dependencies:   mbed

Committer:
emh203
Date:
Wed Jun 13 15:10:06 2012 +0000
Revision:
0:085749c8446f

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
emh203 0:085749c8446f 1 #ifndef _ADC_H_
emh203 0:085749c8446f 2 #define _ADC_H_
emh203 0:085749c8446f 3
emh203 0:085749c8446f 4 extern volatile float BatteryVoltage;
emh203 0:085749c8446f 5 extern volatile float RobotBusVoltageHR;
emh203 0:085749c8446f 6 extern volatile float RobotBusCurrentHR;
emh203 0:085749c8446f 7 extern volatile BOOL ADCDataRdy;
emh203 0:085749c8446f 8
emh203 0:085749c8446f 9
emh203 0:085749c8446f 10 void InitADC();
emh203 0:085749c8446f 11
emh203 0:085749c8446f 12
emh203 0:085749c8446f 13 #define MIN_SAMPLE_RATE 1.0f
emh203 0:085749c8446f 14 #define MAX_SAMPLE_RATE 1000.0f
emh203 0:085749c8446f 15
emh203 0:085749c8446f 16
emh203 0:085749c8446f 17 #endif