abcalibrate360 library
v0.9.1
Optional calibration library for the Parallax ActivityBot 360
Main Page
Files
File List
Globals
C:
Users
alindsay
Documents
SimpleIDE
Learn
Simple Libraries
Robotics
ActivityBot360
libabcalibrate360
abcalibrate360.h
Go to the documentation of this file.
1
39
#ifndef ABCALIBRATE_H
40
#define ABCALIBRATE_H
41
42
#if defined(__cplusplus)
43
extern
"C"
{
44
#endif
45
46
#include "simpletools.h"
47
#include "servo360.h"
48
49
50
51
#ifndef DOXYGEN_SHOULD_SKIP_THIS
52
53
54
55
#define ABD60_PIN_CTRL_L 12
56
#define ABD60_PIN_FB_L 14
57
58
#define ABD360_PIN_CTRL_R 13
59
#define ABD360_PIN_FB_R 15
60
61
62
#ifndef _AB360_EE_Start_
63
67
#define _AB360_EE_Start_ 63418
68
#endif
69
70
#ifndef _AB360_EE_Pins_
71
#define _AB360_EE_Pins_ 12
72
#endif
73
74
#ifndef _AB360_EE_mVccwL_
75
#define _AB360_EE_mVccwL_ 28
76
#endif
77
78
#ifndef _AB360_EE_bVccwL_
79
#define _AB360_EE_bVccwL_ 32
80
#endif
81
82
#ifndef _AB360_EE_mVcwL_
83
#define _AB360_EE_mVcwL_ 36
84
#endif
85
86
#ifndef _AB360_EE_bVcwL_
87
#define _AB360_EE_bVcwL_ 40
88
#endif
89
90
#ifndef _AB360_EE_mVccwR_
91
#define _AB360_EE_mVccwR_ 44
92
#endif
93
94
#ifndef _AB360_EE_bVccwR_
95
#define _AB360_EE_bVccwR_ 48
96
#endif
97
98
#ifndef _AB360_EE_mVcwR_
99
#define _AB360_EE_mVcwR_ 52
100
#endif
101
102
#ifndef _AB360_EE_bVcwR_
103
#define _AB360_EE_bVcwR_ 56
104
#endif
105
106
#ifndef _AB360_EE_End_
107
111
#define _AB360_EE_End_ _AB360_EE_Start_ + 60
112
#endif
113
114
115
116
#endif // DOXYGEN_SHOULD_SKIP_THIS
117
118
119
124
void
cal_activityBot(
void
);
125
126
139
void
cal_servoPins(
int
servoPinLeft,
int
servoPinRight);
140
141
156
void
cal_encoderPins(
int
fbPinLeft,
int
fbPinRight);
157
158
167
void
cal_displayData(
void
);
168
169
176
void
cal_displayResults(
void
);
177
178
183
void
cal_clear(
void
);
184
185
186
187
#ifndef DOXYGEN_SHOULD_SKIP_THIS
188
189
190
191
int
cal_getEepromPins(
void
);
192
193
194
195
#endif // DOXYGEN_SHOULD_SKIP_THIS
196
197
198
199
#if defined(__cplusplus)
200
}
201
#endif
202
/* __cplusplus */
203
#endif
204
/* ABCALIBRATE_H */
205
Generated on Tue Jan 9 2018 18:15:50 for abcalibrate360 library by
1.8.1.2