Treehouse Mbed Team / Mbed 2 deprecated 1U5_proto_X

Dependencies:   mbed

Revision:
1:bc3509459a27
Parent:
0:b3410a1e9843
--- a/src/adc.cpp	Thu Jan 27 21:58:14 2022 +0000
+++ b/src/adc.cpp	Tue Dec 06 18:47:01 2022 +0000
@@ -45,10 +45,10 @@
 *******************************************************************************/
 struct adcValues getADCresults(void){
     
-    unsigned int v48x = 0; 
-    unsigned int v12x = 0;
-    unsigned int i12x = 0;
-    unsigned int test_vx = 0;
+    double v48x = 0; 
+    double v12x = 0;
+    double i12x = 0;
+    double test_vx = 0;
     
     struct adcValues avals;
     unsigned int loopCounter = LOOP_COUNTER;