da
Dependencies: mbed TrapezoidControl QEI
Diff: Input/Potentiometer/Potentiometer.cpp
- Revision:
- 0:669ef71cba68
- Child:
- 1:b1219d8ca117
diff -r 000000000000 -r 669ef71cba68 Input/Potentiometer/Potentiometer.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Input/Potentiometer/Potentiometer.cpp Sat Sep 08 06:05:22 2018 +0000 @@ -0,0 +1,11 @@ +#include "Potentiometer.h" +#include "mbed.h" + +namespace POTENTIOMETER { + AnalogIn adc[] = { + AnalogIn(ADC0_PIN), + AnalogIn(ADC1_PIN), + AnalogIn(ADC2_PIN), + AnalogIn(ADC3_PIN), + }; +}