PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
Simple-Libraries
Learn
Simple Libraries
Robotics
Arlo
libarlodrive
drive_speedBlocking.c
1
#include "
simpletools.h
"
2
#include "arlodrive.h"
3
#include "
fdserial.h
"
4
5
fdserial
*ard_dhb10_arlo;
6
fdserial
*ard_dhb10_terminal;
7
8
int
ard_offset, ard_increment, ard_cycles;
9
10
int
ard_rampStep;
11
int
ard_speedLimit;
12
int
ard_tRampStepPrev;
13
int
ard_speedL, ard_speedR;
14
int
ard_mode;
15
int
ard_feedback;
16
int
ard_servo_pin_L;
17
int
ard_servo_pin_R;
18
int
ard_opened;
19
int
ard_speedAccLim;
20
int
ard_blockGoto;
21
int
ard_deadZone;
22
int
ard_blockSpeed;
23
char
dhb10_reply[DHB10_LEN];
24
int
ard_ramp_interval;
25
26
void
drive_speedBlocking(
int
enabled)
27
{
28
if
(!ard_opened) drive_open();
29
ard_blockSpeed = enabled;
30
}
31
32
simpletools.h
This library provides convenient functions for a variety of microcontroller I/O, timing,...
text_struct
Structure that contains data used by simple text device libraries.
Definition:
simpletext.h:81
fdserial.h
This library supports creating and managing one or more full duplex serial connections with periphera...
Generated on Fri May 20 2022 16:48:04 for PropWare by
1.8.17