eindscript the slap

Dependencies:   Encoder HIDScope MODSERIAL TextLCD mbed-dsp mbed

Files at this revision

API Documentation at this revision

Comitter:
DominiqueC
Date:
Mon Nov 03 10:44:03 2014 +0000
Parent:
0:8d63bed88781
Child:
2:76d46ee097ef
Commit message:
lcd met juiste pinnen

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sun Nov 02 20:14:29 2014 +0000
+++ b/main.cpp	Mon Nov 03 10:44:03 2014 +0000
@@ -32,10 +32,10 @@
 #define THETADOT1 7.77
 #define THETADOT2 9.21
 
-TextLCD lcd(PTE5, PTE3, PTE2, PTB11, PTB10, PTB9); // rs, e, d4-d7 CONTROLEREN!! (Pinnen wel vrij :) )! //Textpc pc(p15, p16, p17, p18, p19, p20, Textpc::pc16x4); // rs, e, d4-d7 ok
+TextLCD lcd(PTD2, PTA12, PTB2, PTB3, PTC2, PTA13);
 
-Encoder motor2(PTD2,PTD0); //geel,wit kleine motor MOTOR 2
-Encoder motor1(PTD5,PTA13);//geel,wit
+Encoder motor2(PTD3,PTD1); //kleine motor, geel,wit (zonder lcd:ptd2,ptd0)
+Encoder motor1(PTD5,PTD0); //grote motor, geel,wit (zonder lcd: ptd5,pta13)
 PwmOut pwm_motor1(M1_PWM);
 PwmOut pwm_motor2(M2_PWM);
 DigitalOut motordir2(M2_DIR);