Jose Rios
/
Nucleo_AnalogRead
Read an analog value using ADC
Diff: main.cpp
- Revision:
- 4:643030f4ac01
- Parent:
- 3:152d8b330c08
- Child:
- 5:61fd7faf824b
--- a/main.cpp Mon Dec 29 01:20:50 2014 +0000 +++ b/main.cpp Mon Dec 29 01:33:31 2014 +0000 @@ -5,7 +5,7 @@ #include "mbed.h" -AnalogIn analog_sensor(A1); // Create the analog pin object +AnalogIn analog_sensor(A0); // Create the analog pin object int main() {