Pakai akselerasi
Dependencies: DigitDisplay Motor PID Ping mbed millis
Fork of MainProgram_BaseBaru_fix_omni_5April_23-04 by
Diff: main.cpp
- Revision:
- 9:5a50782510fb
- Parent:
- 8:0711dea61312
- Child:
- 10:f0f0dc3904e0
diff -r 0711dea61312 -r 5a50782510fb main.cpp --- a/main.cpp Tue Nov 29 11:51:42 2016 +0000 +++ b/main.cpp Tue Nov 29 11:54:22 2016 +0000 @@ -43,9 +43,9 @@ #define diaEncoder 0.058 #define PPR 1000 #define diaRobot 0.64 -#define pinservo1 PC_7 +#define pinservo1 PC_8 //PC 9 -#define pinservo2 PA_0 +#define pinservo2 PC_9 float K_enc = pi*diaEncoder; float K_robot = pi*diaRobot;