kakunin

Dependencies:   ADXL345 HMC6352 Motor PID SoftPWM mbed

Files at this revision

API Documentation at this revision

Comitter:
WAT34
Date:
Sun Jul 12 00:35:11 2015 +0000
Parent:
1:56dc085d9e2d
Child:
6:5d77f1347f79
Commit message:
active

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sun Jul 05 08:18:46 2015 +0000
+++ b/main.cpp	Sun Jul 12 00:35:11 2015 +0000
@@ -20,7 +20,7 @@
 DigitalIn sw2(p11,PullUp);
 ADXL345 accell(p5,p6,p7,p8);
 PID tilt(0.1, 0.0, 0.0, 0.1);
-Motor motor(p12,p13,p21);
+Motor motor(p21,p12,p13);
 int c;
 void sound()
 {