display control

This commit is contained in:
2025-05-17 13:08:17 +02:00
parent 0e87650257
commit 226f2a3e3f
4 changed files with 219 additions and 61 deletions

9
master/global.h Normal file
View File

@ -0,0 +1,9 @@
#define DATA_STOP_BYTE 0x00
#define DATA_INIT_BYTE_1 0x01
#define DATA_INIT_BYTE_2 0x02
#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