test
Dependencies: mbed TrapezoidControl QEI
Input/Potentiometer/Potentiometer.h@0:669ef71cba68, 2018-09-08 (annotated)
- Committer:
- t_yamamoto
- Date:
- Sat Sep 08 06:05:22 2018 +0000
- Revision:
- 0:669ef71cba68
- Child:
- 1:b1219d8ca117
???????
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
t_yamamoto | 0:669ef71cba68 | 1 | #ifndef POTENTIOMETER_H_ |
t_yamamoto | 0:669ef71cba68 | 2 | #define POTENTIOMETER_H_ |
t_yamamoto | 0:669ef71cba68 | 3 | |
t_yamamoto | 0:669ef71cba68 | 4 | #include "mbed.h" |
t_yamamoto | 0:669ef71cba68 | 5 | |
t_yamamoto | 0:669ef71cba68 | 6 | namespace POTENTIOMETER { |
t_yamamoto | 0:669ef71cba68 | 7 | #define ADC0_PIN PC_2 |
t_yamamoto | 0:669ef71cba68 | 8 | #define ADC1_PIN PC_3 |
t_yamamoto | 0:669ef71cba68 | 9 | #define ADC2_PIN PC_0 |
t_yamamoto | 0:669ef71cba68 | 10 | #define ADC3_PIN PC_1 |
t_yamamoto | 0:669ef71cba68 | 11 | |
t_yamamoto | 0:669ef71cba68 | 12 | extern AnalogIn adc[]; |
t_yamamoto | 0:669ef71cba68 | 13 | } |
t_yamamoto | 0:669ef71cba68 | 14 | |
t_yamamoto | 0:669ef71cba68 | 15 | #endif |