leitura de potenciometro

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Crazyaboutmachines
Date:
Wed Jun 22 21:58:50 2016 +0000
Parent:
3:a86913f82e87
Commit message:
changed output pin

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Jun 22 21:41:19 2016 +0000
+++ b/main.cpp	Wed Jun 22 21:58:50 2016 +0000
@@ -2,7 +2,7 @@
  
 AnalogIn analog_value(A0);
  
-DigitalOut led(LED1);
+DigitalOut led(PA_6);
 
 int main() {
     float meas;