test
Dependencies: mbed TrapezoidControl QEI
Input/Potentiometer/Potentiometer.h@19:96a462583af9, 2019-07-16 (annotated)
- Committer:
- M_souta
- Date:
- Tue Jul 16 06:48:51 2019 +0000
- Revision:
- 19:96a462583af9
- Parent:
- 16:3f2c2d89372b
test
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 |