daad
Dependencies: mbed TrapezoidControl QEI
Input/Potentiometer/Potentiometer.h@24:41c23c9a5058, 2019-09-16 (annotated)
- Committer:
- yabahiro
- Date:
- Mon Sep 16 00:03:18 2019 +0000
- Revision:
- 24:41c23c9a5058
- Parent:
- 16:3f2c2d89372b
ads
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 |