stock mbed AnalogReads current loop closed and working
Fork of priustroller_2 by
Diff: sensors/voltagesensors.cpp
- Revision:
- 33:e7b132029bae
- Parent:
- 28:af9d43bcb371
--- a/sensors/voltagesensors.cpp Mon Mar 16 02:43:19 2015 +0000 +++ b/sensors/voltagesensors.cpp Mon Mar 16 03:09:48 2015 +0000 @@ -2,7 +2,7 @@ #include "sensors.h" AnalogVoltageSensor::AnalogVoltageSensor(PinName pin, float scale) { - _in = new NativeAnalogIn(pin); + _in = new AnalogIn(pin); _scale = scale; }