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.
Dependencies: mbed TrapezoidControl QEI
Diff: Input/Potentiometer/Potentiometer.h
- Revision:
- 16:3f2c2d89372b
- Parent:
- 1:b1219d8ca117
diff -r dfcec98f5aa9 -r 3f2c2d89372b Input/Potentiometer/Potentiometer.h
--- a/Input/Potentiometer/Potentiometer.h Sun Oct 21 02:14:15 2018 +0000
+++ b/Input/Potentiometer/Potentiometer.h Mon Jul 01 13:00:20 2019 +0000
@@ -4,10 +4,12 @@
#include "mbed.h"
namespace POTENTIOMETER {
- #define ADC0_PIN PC_3
- #define ADC1_PIN PC_0
- #define ADC2_PIN PC_1
-
+ #define ADC0_PIN PC_3
+ #define ADC1_PIN PC_0
+ #define ADC2_PIN PC_1
+ #define ADC3_PIN PC_0
+ #define ADC4_PIN PB_0
+
extern AnalogIn adc[];
}