mirror of
https://github.com/anklimov/lighthub
synced 2026-05-06 22:15:49 +00:00
MASSIVE refactoring. /set scale changed 100 -> 255
This commit is contained in:
@@ -3,9 +3,10 @@
|
||||
#ifndef MOTOR_DISABLE
|
||||
#include <abstractout.h>
|
||||
#include <item.h>
|
||||
#include "itemCmd.h"
|
||||
|
||||
#ifndef POS_ERR
|
||||
#define POS_ERR 5
|
||||
#define POS_ERR 10
|
||||
#endif
|
||||
|
||||
#define MIN_PWM 70
|
||||
@@ -24,8 +25,9 @@ public:
|
||||
int Poll(short cause) override;
|
||||
int Stop() override;
|
||||
int Status() override;
|
||||
int isActive() override;
|
||||
//int isActive() override;
|
||||
int getChanType() override;
|
||||
int getDefaultStorageType(){return ST_PERCENTS255;};
|
||||
//int Ctrl(short cmd, short n=0, int * Parameters=NULL, int suffixCode=0, char* subItem=NULL) override;
|
||||
int Ctrl(itemCmd cmd, char* subItem=NULL, bool toExecute=true) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user