da
Dependencies: mbed TrapezoidControl QEI
Input/Potentiometer/Potentiometer.h@23:694ecfa97839, 2019-09-15 (annotated)
- Committer:
- yabahiro
- Date:
- Sun Sep 15 11:53:56 2019 +0000
- Revision:
- 23:694ecfa97839
- Parent:
- 16:3f2c2d89372b
ewf
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 { |
kishibekairohan | 16:3f2c2d89372b | 7 | #define ADC0_PIN PC_3 |
kishibekairohan | 16:3f2c2d89372b | 8 | #define ADC1_PIN PC_0 |
kishibekairohan | 16:3f2c2d89372b | 9 | #define ADC2_PIN PC_1 |
kishibekairohan | 16:3f2c2d89372b | 10 | #define ADC3_PIN PC_0 |
kishibekairohan | 16:3f2c2d89372b | 11 | #define ADC4_PIN PB_0 |
kishibekairohan | 16:3f2c2d89372b | 12 | |
t_yamamoto | 0:669ef71cba68 | 13 | extern AnalogIn adc[]; |
t_yamamoto | 0:669ef71cba68 | 14 | } |
t_yamamoto | 0:669ef71cba68 | 15 | |
t_yamamoto | 0:669ef71cba68 | 16 | #endif |