PropWare  3.0.0.229
C++ objects and CMake build system for Parallax Propeller
abcalibrate.h
Go to the documentation of this file.
1 
41 #ifndef ABCALIBRATE_H
42 #define ABCALIBRATE_H
43 
44 #if defined(__cplusplus)
45 extern "C" {
46 #endif
47 
48 #include "servo.h"
49 #include "simpletools.h" // Include simple tools
50 #include "fdserial.h"
51 #include "abdrive.h"
52 
53 #ifndef _ActivityBot_EE_Start_
54 
58 #define _ActivityBot_EE_Start_ 63418
59 #endif
60 
61 #ifndef _ActivityBot_EE_Pins_
62 #define _ActivityBot_EE_Pins_ 12
63 #endif
64 
65 #ifndef _ActivityBot_EE_Trims_
66 #define _ActivityBot_EE_Trims_ 28
67 #endif
68 
69 #ifndef _ActivityBot_EE_Left_
70 #define _ActivityBot_EE_Left_ 52
71 #endif
72 
73 #ifndef _ActivityBot_EE_Right_
74 #define _ActivityBot_EE_Right_ 1052
75 #endif
76 
77 #ifndef _ActivityBot_EE_End_
78 
82 #define _ActivityBot_EE_End_ 63418 + 2052
83 #endif
84 
85 void cal_displayData(void);
86 void cal_displayResults(void);
87 
92 void cal_activityBot();
93 
106 void cal_servoPins(int servoPinLeft, int servoPinRight);
107 
120 void cal_encoderPins(int encPinLeft, int encPinRight);
121 
122 
123 #if defined(__cplusplus)
124 }
125 #endif
126 /* __cplusplus */
127 #endif
128 /* ABCALIBRATE_H */
129 
simpletools.h
This library provides convenient functions for a variety of microcontroller I/O, timing,...
cal_displayResults
void cal_displayResults(void)
Indicates whether the last calibration was successful or had errors. Errors can be caused by turning ...
Definition: calibrationResults.c:371
servo.h
Control up to 14 servos in another core. For up to 28, add the servoAux library to your project....
cal_servoPins
void cal_servoPins(int servoPinLeft, int servoPinRight)
Set the ActivityBot's servo pin connections to something other than the default P12 (left servo) and ...
Definition: abcalibrate.c:773
cal_displayData
void cal_displayData(void)
Display ActivityBot 360 calibration data in the terminal. This data consists of I/O pin values for ...
Definition: Display.c:189
cal_encoderPins
void cal_encoderPins(int encPinLeft, int encPinRight)
Set the ActivityBot's servo pin connections to something other than the default P14 (left encoder) an...
Definition: abcalibrate.c:787
cal_activityBot
void cal_activityBot()
Run the ActivityBot calibration function. Let it run until the P26 and P27 lights turn off....
Definition: abcalibrate.c:44
abdrive.h
This library takes care of encoder monitoring and servo signaling, and provides a simple set of funct...
fdserial.h
This library supports creating and managing one or more full duplex serial connections with periphera...