da
Dependencies: mbed TrapezoidControl QEI
Input/Potentiometer/Potentiometer.h@1:b1219d8ca117, 2018-09-10 (annotated)
- Committer:
- 7ka884
- Date:
- Mon Sep 10 01:39:15 2018 +0000
- Revision:
- 1:b1219d8ca117
- Parent:
- 0:669ef71cba68
- Child:
- 16:3f2c2d89372b
A
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 { |
7ka884 | 1:b1219d8ca117 | 7 | #define ADC0_PIN PC_3 |
7ka884 | 1:b1219d8ca117 | 8 | #define ADC1_PIN PC_0 |
7ka884 | 1:b1219d8ca117 | 9 | #define ADC2_PIN PC_1 |
t_yamamoto | 0:669ef71cba68 | 10 | |
t_yamamoto | 0:669ef71cba68 | 11 | extern AnalogIn adc[]; |
t_yamamoto | 0:669ef71cba68 | 12 | } |
t_yamamoto | 0:669ef71cba68 | 13 | |
t_yamamoto | 0:669ef71cba68 | 14 | #endif |