implement mapping table
contails pointer bug
parent
5253648cfb
commit
33af2cfb49
@ -0,0 +1,19 @@
|
||||
#include "uart_dmx.h"
|
||||
|
||||
typedef struct{
|
||||
uint16_t tilt;
|
||||
uint8_t endless_rot;
|
||||
} motor_mapping_T;
|
||||
|
||||
typedef struct{
|
||||
motor_mapping_T channels[12];
|
||||
uint8_t automode;
|
||||
} fixture_mapping_T;
|
||||
|
||||
#define AUTOMODE_NO_FUNC_L 0
|
||||
#define AUTOMODE_NO_FUNC_H 4
|
||||
#define AUTOMODE_GOTO_REF_L 5
|
||||
#define AUTOMODE_GOTO_REF_H 9
|
||||
#define AUTOMODE_CLASSIC_L 10
|
||||
#define AUTOMODE_CLASSIC_H 14
|
||||
|
||||
Loading…
Reference in New Issue