kstars
celestronprotocol.h File Reference
Go to the source code of this file.
Defines | |
#define | BLINK0 0 |
#define | BLINK1 1 |
#define | BLINK2 2 |
#define | BLINK3 4 |
#define | BRIGHTER 16 |
#define | CENTER 2 |
#define | DIMMER 8 |
#define | EAST 2 |
#define | FANOFF 0 |
#define | FANON 1 |
#define | FIND 1 |
#define | FOCUSFAST 2 |
#define | FOCUSIN 4 |
#define | FOCUSOUT 8 |
#define | FOCUSSLOW 1 |
#define | FOCUSSTOP 0 |
#define | GUIDE 3 |
#define | HIGHER 0. |
#define | LOWER 90. |
#define | MAXSLEWRATE 4 |
#define | NORTH 0 |
#define | REVERSE_NS 0 |
#define | ROTATOROFF 0 |
#define | ROTATORON 1 |
#define | SLEW 0 |
#define | SLEWRATE2 2 |
#define | SLEWRATE3 3 |
#define | SLEWRATE4 4 |
#define | SLEWRATE8 8 |
#define | SOUTH 3 |
#define | WEST 1 |
Functions | |
int | CheckConnectTel (void) |
int | CheckCoords (double desRA, double desDec) |
int | ConnectTel (char *port) |
void | Derotator (int rotate) |
void | DisconnectTel (void) |
void | Fan (int fan) |
void | Focus (int focus) |
double | GetDec (void) |
double | GetRA (void) |
void | Reticle (int reticle) |
void | SetLimits (double limitLower, double limitHigher) |
void | SetRate (int newRate) |
int | SetSlewRate (void) |
int | SlewToCoords (double newRA, double newDec) |
void | StartSlew (int direction) |
void | StopNSEW (void) |
void | StopSlew (int direction) |
int | SyncLocalTime () |
int | SyncLST (double newTime) |
int | SyncToCoords (double newRA, double newDec) |
Define Documentation
#define BLINK0 0 |
Definition at line 74 of file celestronprotocol.h.
#define BLINK1 1 |
Definition at line 75 of file celestronprotocol.h.
#define BLINK2 2 |
Definition at line 76 of file celestronprotocol.h.
#define BLINK3 4 |
Definition at line 77 of file celestronprotocol.h.
#define BRIGHTER 16 |
Definition at line 72 of file celestronprotocol.h.
#define CENTER 2 |
Definition at line 49 of file celestronprotocol.h.
#define DIMMER 8 |
Definition at line 73 of file celestronprotocol.h.
#define EAST 2 |
Definition at line 60 of file celestronprotocol.h.
#define FANOFF 0 |
Definition at line 98 of file celestronprotocol.h.
#define FANON 1 |
Definition at line 97 of file celestronprotocol.h.
#define FIND 1 |
Definition at line 48 of file celestronprotocol.h.
#define FOCUSFAST 2 |
Definition at line 86 of file celestronprotocol.h.
#define FOCUSIN 4 |
Definition at line 83 of file celestronprotocol.h.
#define FOCUSOUT 8 |
Definition at line 82 of file celestronprotocol.h.
#define FOCUSSLOW 1 |
Definition at line 85 of file celestronprotocol.h.
#define FOCUSSTOP 0 |
Definition at line 84 of file celestronprotocol.h.
#define GUIDE 3 |
Definition at line 50 of file celestronprotocol.h.
#define HIGHER 0. |
Definition at line 28 of file celestronprotocol.h.
#define LOWER 90. |
Definition at line 23 of file celestronprotocol.h.
#define MAXSLEWRATE 4 |
Definition at line 38 of file celestronprotocol.h.
#define NORTH 0 |
Definition at line 56 of file celestronprotocol.h.
#define REVERSE_NS 0 |
Definition at line 33 of file celestronprotocol.h.
#define ROTATOROFF 0 |
Definition at line 92 of file celestronprotocol.h.
#define ROTATORON 1 |
Definition at line 91 of file celestronprotocol.h.
#define SLEW 0 |
Definition at line 47 of file celestronprotocol.h.
#define SLEWRATE2 2 |
Definition at line 68 of file celestronprotocol.h.
#define SLEWRATE3 3 |
Definition at line 67 of file celestronprotocol.h.
#define SLEWRATE4 4 |
Definition at line 66 of file celestronprotocol.h.
#define SLEWRATE8 8 |
Definition at line 65 of file celestronprotocol.h.
#define SOUTH 3 |
Definition at line 57 of file celestronprotocol.h.
#define WEST 1 |
Definition at line 61 of file celestronprotocol.h.
Function Documentation
int CheckConnectTel | ( | void | ) |
int CheckCoords | ( | double | desRA, | |
double | desDec | |||
) |
int ConnectTel | ( | char * | port | ) |
void Derotator | ( | int | rotate | ) |
void DisconnectTel | ( | void | ) |
void Fan | ( | int | fan | ) |
void Focus | ( | int | focus | ) |
double GetDec | ( | void | ) |
double GetRA | ( | void | ) |
void Reticle | ( | int | reticle | ) |
void SetLimits | ( | double | limitLower, | |
double | limitHigher | |||
) |
void SetRate | ( | int | newRate | ) |
int SetSlewRate | ( | void | ) |
int SlewToCoords | ( | double | newRA, | |
double | newDec | |||
) |
void StartSlew | ( | int | direction | ) |
void StopNSEW | ( | void | ) |
void StopSlew | ( | int | direction | ) |
int SyncLocalTime | ( | ) |
int SyncLST | ( | double | newTime | ) |
int SyncToCoords | ( | double | newRA, | |
double | newDec | |||
) |