chore: rewrite to modbus rtu

This commit is contained in:
2024-11-09 00:36:06 +06:00
parent 0a0084f98f
commit 68f47c9d53
14 changed files with 506 additions and 167 deletions

9
shift_reg.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef SHIFT_REG_H
#define SHIFT_REG_H
#include <stdint.h>
void shift_reg_init(void);
void shift_reg_write(uint16_t data);
#endif