#include "steeldrive.h"
#include "indicom.h"
#include <cmath>
#include <memory>
#include <cstring>
#include <termios.h>
#include <unistd.h>
Go to the source code of this file.
◆ FOCUS_SETTINGS_TAB
| #define FOCUS_SETTINGS_TAB "Settings" |
◆ STEELDIVE_POSITION_THRESHOLD
| #define STEELDIVE_POSITION_THRESHOLD 5 /* Only send position updates to client if the diff exceeds 5 steps */ |
◆ STEELDRIVE_CMD
◆ STEELDRIVE_CMD_LONG
| #define STEELDRIVE_CMD_LONG 11 |
◆ STEELDRIVE_MAX_RETRIES
| #define STEELDRIVE_MAX_RETRIES 3 |
◆ STEELDRIVE_MAXBUF
| #define STEELDRIVE_MAXBUF 16 |
◆ STEELDRIVE_TEMPERATURE_FREQ
| #define STEELDRIVE_TEMPERATURE_FREQ 20 /* Update every 20 POLLMS cycles. For POLLMS 500ms = 10 seconds freq */ |
◆ STEELDRIVE_TIMEOUT
| #define STEELDRIVE_TIMEOUT 2 |
◆ steelDrive()
| std::unique_ptr< SteelDrive > steelDrive |
( |
new |
SteelDrive() | ) |
|