diff --git a/controller/global.h b/controller/global.h deleted file mode 120000 index 4adadf7..0000000 --- a/controller/global.h +++ /dev/null @@ -1 +0,0 @@ -../master/global.h \ No newline at end of file diff --git a/controller/global.h b/controller/global.h new file mode 100644 index 0000000..536b060 --- /dev/null +++ b/controller/global.h @@ -0,0 +1,10 @@ +#define DATA_STOP_BYTE 0x00 +#define DATA_INIT_BYTE_1 0x01 +#define DATA_INIT_BYTE_2 0x02 +#define DATA_BYTE 0x03 +#define DATA_RESET_BYTE 0xFF +#define TRIGGER_BIT_1 1 +#define HIGH_BIT_1 2 +#define TRIGGER_BIT_2 4 +#define HIGH_BIT_2 8 +#define I2C_ADDRESS_START 0x08 diff --git a/master/global.h b/master/global.h deleted file mode 100644 index 536b060..0000000 --- a/master/global.h +++ /dev/null @@ -1,10 +0,0 @@ -#define DATA_STOP_BYTE 0x00 -#define DATA_INIT_BYTE_1 0x01 -#define DATA_INIT_BYTE_2 0x02 -#define DATA_BYTE 0x03 -#define DATA_RESET_BYTE 0xFF -#define TRIGGER_BIT_1 1 -#define HIGH_BIT_1 2 -#define TRIGGER_BIT_2 4 -#define HIGH_BIT_2 8 -#define I2C_ADDRESS_START 0x08 diff --git a/master/global.h b/master/global.h new file mode 120000 index 0000000..d450d7f --- /dev/null +++ b/master/global.h @@ -0,0 +1 @@ +../controller/global.h \ No newline at end of file diff --git a/rotator/global.h b/rotator/global.h index 4adadf7..d450d7f 120000 --- a/rotator/global.h +++ b/rotator/global.h @@ -1 +1 @@ -../master/global.h \ No newline at end of file +../controller/global.h \ No newline at end of file