работает слейв и мастер

This commit is contained in:
2026-05-28 03:20:13 +03:00
commit cbb571f124
191 changed files with 55316 additions and 0 deletions

15
App/hardware.h Normal file
View File

@@ -0,0 +1,15 @@
#ifndef HARDWARE_H
#define HARDWARE_H
#include <stdbool.h>
#include <stdint.h>
void Hardware_Init(void);
void Hardware_Process(void);
uint32_t Hardware_GetTickMs(void);
bool Hardware_ReadRoleSwitchIsMaster(void);
void Hardware_SetRoleLed(bool on);
bool Hardware_ReadButton(uint8_t index);
uint16_t Hardware_ReadAnalogRaw(void);
#endif