Instrument Neutral Distributed Interface INDI  2.0.2
Macros
skywatcherAPI.cpp File Reference
#include "skywatcherAPI.h"
#include "indicom.h"
#include <cmath>
#include <iomanip>
#include <memory>
#include <thread>
#include <termios.h>

Go to the source code of this file.

Macros

#define HEX(c)   (((c) < 'A') ? ((c) - '0') : ((c) - 'A') + 10)
 
#define HEX(c)   (((c) < 'A') ? ((c) - '0') : ((c) - 'A') + 10)
 

Detailed Description

Author
Roger James
Jasem Mutlaq
Gerry Rozema
Jean-Luc Geehalel
Date
13th November 2013

Updated on 2020-12-01 by Jasem Mutlaq Updated on 2021-11-20 by Jasem Mutlaq:

This file contains an implementation in C++ of the Skywatcher API. It is based on work from four sources. A C++ implementation of the API by Roger James. The indi_eqmod driver by Jean-Luc Geehalel. The synscanmount driver by Gerry Rozema. The C# implementation published by Skywatcher/Synta

Author
Roger James
Gerry Rozema
Jean-Luc Geehalel
Date
13th November 2013

This file contains the definitions for a C++ implementatiom of the Skywatcher API. It is based on work from four sources. A C++ implementation of the API by Roger James. The indi_eqmod driver by Jean-Luc Geehalel. The synscanmount driver by Gerry Rozema. The C# implementation published by Skywatcher/Synta

Definition in file skywatcherAPI.cpp.

Macro Definition Documentation

◆ HEX [1/2]

#define HEX (   c)    (((c) < 'A') ? ((c) - '0') : ((c) - 'A') + 10)

◆ HEX [2/2]

#define HEX (   c)    (((c) < 'A') ? ((c) - '0') : ((c) - 'A') + 10)