Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Input/Potentiometer/Potentiometer.cpp@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 | #include "Potentiometer.h" |
t_yamamoto | 0:669ef71cba68 | 2 | #include "mbed.h" |
t_yamamoto | 0:669ef71cba68 | 3 | |
t_yamamoto | 0:669ef71cba68 | 4 | namespace POTENTIOMETER { |
t_yamamoto | 0:669ef71cba68 | 5 | AnalogIn adc[] = { |
t_yamamoto | 0:669ef71cba68 | 6 | AnalogIn(ADC0_PIN), |
t_yamamoto | 0:669ef71cba68 | 7 | AnalogIn(ADC1_PIN), |
t_yamamoto | 0:669ef71cba68 | 8 | AnalogIn(ADC2_PIN), |
t_yamamoto | 0:669ef71cba68 | 9 | AnalogIn(ADC3_PIN), |
t_yamamoto | 0:669ef71cba68 | 10 | }; |
t_yamamoto | 0:669ef71cba68 | 11 | } |