fixed bugs in shutter; need to check its work and finish readme

This commit is contained in:
2023-12-07 18:02:30 +03:00
parent c9a264c46b
commit 33e4eb9e6a
16 changed files with 236 additions and 94 deletions

View File

@@ -20,11 +20,6 @@
#include <stm32f1.h>
// opening/closing time (ms)
#define SHUTTER_TIME (20)
// waiting for getting status time (ms)
#define WAITING_TIME (60)
typedef enum{
SHUTTER_ERROR, // shutter is absent?
SHUTTER_RELAX, // powered off