JeVois Tutorials
1.22
JeVois Smart Embedded Machine Vision Tutorials
|
|
#include <Servo.h>
Go to the source code of this file.
Macros | |
#define | LEDPIN 13 |
#define | SERIAL Serial1 |
#define | PANPIN 3 |
#define | TILTPIN 5 |
#define | PANZERO 90 |
#define | TILTZERO 90 |
#define | SCALE 100 |
#define | INLEN 128 |
Functions | |
void | setup () |
void | loop () |
Variables | |
Servo | panservo |
Servo | tiltservo |
long | pangain = 100 |
long | tiltgain = 100 |
long | panval = PANZERO * SCALE |
long | tiltval = TILTZERO * SCALE |
char | instr [INLEN+1] |
#define INLEN 128 |
Definition at line 29 of file ArduinoPanTiltTutorial.C.
#define LEDPIN 13 |
Definition at line 8 of file ArduinoPanTiltTutorial.C.
#define PANPIN 3 |
Definition at line 13 of file ArduinoPanTiltTutorial.C.
#define PANZERO 90 |
Definition at line 17 of file ArduinoPanTiltTutorial.C.
#define SCALE 100 |
Definition at line 23 of file ArduinoPanTiltTutorial.C.
#define SERIAL Serial1 |
Definition at line 10 of file ArduinoPanTiltTutorial.C.
#define TILTPIN 5 |
Definition at line 15 of file ArduinoPanTiltTutorial.C.
#define TILTZERO 90 |
Definition at line 18 of file ArduinoPanTiltTutorial.C.
void loop | ( | ) |
void setup | ( | ) |
char instr[INLEN+1] |
Definition at line 30 of file ArduinoPanTiltTutorial.C.
Referenced by loop().
long pangain = 100 |
Definition at line 24 of file ArduinoPanTiltTutorial.C.
Referenced by loop().
Servo panservo |
Definition at line 12 of file ArduinoPanTiltTutorial.C.
Definition at line 26 of file ArduinoPanTiltTutorial.C.
long tiltgain = 100 |
Definition at line 25 of file ArduinoPanTiltTutorial.C.
Referenced by loop().
Servo tiltservo |
Definition at line 14 of file ArduinoPanTiltTutorial.C.