Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed TrapezoidControl QEI
Diff: Input/Potentiometer/Potentiometer.h
- Revision:
- 0:669ef71cba68
- Child:
- 1:b1219d8ca117
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Input/Potentiometer/Potentiometer.h Sat Sep 08 06:05:22 2018 +0000 @@ -0,0 +1,15 @@ +#ifndef POTENTIOMETER_H_ +#define POTENTIOMETER_H_ + +#include "mbed.h" + +namespace POTENTIOMETER { + #define ADC0_PIN PC_2 + #define ADC1_PIN PC_3 + #define ADC2_PIN PC_0 + #define ADC3_PIN PC_1 + + extern AnalogIn adc[]; +} + +#endif