Treehouse Mbed Team / Mbed 2 deprecated APS_DCM1SL2

Dependencies:   mbed

Revision:
11:01dcfb29fbc4
Parent:
9:816b9a4e4f21
Child:
15:aed8f326c949
--- a/inc/adc.h	Fri Dec 07 17:39:01 2018 +0000
+++ b/inc/adc.h	Fri Dec 07 20:42:41 2018 +0000
@@ -29,15 +29,17 @@
 #ifndef adc_H
 #define adc_H
 
+#include "globals.h"
 #include "mbed.h"
 
-extern unsigned short v48, v24, v12;
-extern unsigned short i48, i24, i12;
-
 void initADC(void);
 
-void getADCresults(void);
-void getADCvolts(void);
-void getADCamps(void);
+struct adcValues getADCresults(void);
+struct adcValues getADCvolts(void);
+struct adcValues getADCamps(void);
+
+struct displayValues calcDisplayValues(struct adcValues avals);
+
+extern bool raw;
 
 #endif