aa

Dependencies:   mbed TrapezoidControl QEI

Revision:
31:45f97698857b
Parent:
16:3f2c2d89372b
Child:
43:677f7446612e
diff -r 9450dc1d53cc -r 45f97698857b Input/Potentiometer/Potentiometer.cpp
--- a/Input/Potentiometer/Potentiometer.cpp	Fri Sep 20 02:47:02 2019 +0000
+++ b/Input/Potentiometer/Potentiometer.cpp	Sat Sep 21 04:28:31 2019 +0000
@@ -2,12 +2,12 @@
 #include "mbed.h"
 
 namespace POTENTIOMETER {
-    AnalogIn adc[] = {
-        AnalogIn(ADC0_PIN),
-        AnalogIn(ADC1_PIN),
-        AnalogIn(ADC2_PIN),
-        AnalogIn(ADC3_PIN),
-        AnalogIn(ADC4_PIN),
+    DigitalOut dio[]= {
+        DigitalOut(ADC0_PIN),
+        DigitalOut(ADC1_PIN),
+        DigitalOut(ADC2_PIN),
+        DigitalOut(ADC3_PIN),
+        DigitalOut(ADC4_PIN),
 
     };
 }