corrected error assignation of motors in methods right and left. now it work fun. Added function to read calibrated sensors data.
Fork of m3pi by
Diff: m3pi.h
- Revision:
- 1:816a80dcc1a3
- Parent:
- 0:e6020bd04b45
- Child:
- 4:54c673c71fc0
--- a/m3pi.h Fri Oct 29 13:25:07 2010 +0000
+++ b/m3pi.h Fri Oct 29 13:30:11 2010 +0000
@@ -177,6 +177,11 @@
*/
void reset_calibration (void);
+ void PID_start(int max_speed, int a, int b, int c, int d);
+
+ void PID_stop();
+
+
/** Locate the cursor on the 8x2 LCD
*
* @param x The horizontal position, from 0 to 7
