moved global.h to new controller implementation

This commit is contained in:
2025-05-25 12:24:26 +02:00
parent 2543ac1336
commit 73c59c732a
3 changed files with 12 additions and 12 deletions

View File

@ -1 +0,0 @@
../master/global.h

10
controller/global.h Normal file
View File

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

View File

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

1
master/global.h Symbolic link
View File

@ -0,0 +1 @@
../controller/global.h

View File

@ -1 +1 @@
../master/global.h ../controller/global.h