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@21:e3b58d675c1c, 2019-09-09 (annotated)
- Committer:
- M_souta
- Date:
- Mon Sep 09 00:19:28 2019 +0000
- Revision:
- 21:e3b58d675c1c
- Parent:
- 16:3f2c2d89372b
u
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), |
| kishibekairohan | 16:3f2c2d89372b | 9 | AnalogIn(ADC3_PIN), |
| kishibekairohan | 16:3f2c2d89372b | 10 | AnalogIn(ADC4_PIN), |
| kishibekairohan | 16:3f2c2d89372b | 11 | |
| t_yamamoto | 0:669ef71cba68 | 12 | }; |
| t_yamamoto | 0:669ef71cba68 | 13 | } |