Compare commits

..

1 Commits

Author SHA1 Message Date
33af2cfb49 implement mapping table
contails pointer bug
2025-05-15 21:57:52 +02:00

19
Inc/mapping_table.h Normal file
View File

@@ -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