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.
Diff: Input/Potentiometer/Potentiometer.cpp
- Revision:
- 0:669ef71cba68
- Child:
- 1:b1219d8ca117
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Input/Potentiometer/Potentiometer.cpp Sat Sep 08 06:05:22 2018 +0000
@@ -0,0 +1,11 @@
+#include "Potentiometer.h"
+#include "mbed.h"
+
+namespace POTENTIOMETER {
+ AnalogIn adc[] = {
+ AnalogIn(ADC0_PIN),
+ AnalogIn(ADC1_PIN),
+ AnalogIn(ADC2_PIN),
+ AnalogIn(ADC3_PIN),
+ };
+}