ingreso de parametros a controlador PID con un ENCODER .
Dependencies: DebounceIn Debounced QEI TextLCD2 mbed
Revision 4:ffdca5c64f59, committed 2013-11-22
- Comitter:
- caaruizze
- Date:
- Fri Nov 22 11:44:48 2013 +0000
- Parent:
- 3:c87c88124d37
- Commit message:
- tarea4 encoder buena;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r c87c88124d37 -r ffdca5c64f59 main.cpp --- a/main.cpp Wed Nov 20 21:54:28 2013 +0000 +++ b/main.cpp Fri Nov 22 11:44:48 2013 +0000 @@ -5,9 +5,9 @@ #include "DebounceIn.h" AnalogIn Vin(PTC2); AnalogOut Vo(PTE30); -QEI wheel (PTD5, PTD0, NC, 624); +QEI wheel (PTA5, PTD5, NC, 624); TextLCD lcd(PTB10, PTB11, PTE2, PTE3, PTE4, PTE5); // rs, e, d4-d7 -DebouncedIn b1(PTC13); +DebouncedIn b1(PTA13); DebounceIn b2(PTC17); int x=1,i,d,f,g,h=0,m=0,l=0,k=0,j=0; int C1=0x0e;