mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
fixed bugs in shutter; need to check its work and finish readme
This commit is contained in:
@@ -32,6 +32,10 @@ typedef struct __attribute__((packed, aligned(4))){
|
||||
uint8_t hallactive : 1; // hall sensor active (shutter is opened when): 0 - low, 1 - high
|
||||
uint16_t minvoltage; // minimal voltage on C (*100)
|
||||
uint16_t workvoltage; // working voltage (*100)
|
||||
uint16_t shutterrime; // opening/closing time (ms)
|
||||
uint16_t waitingtime; // time to wait for mechanical work done (ms)
|
||||
uint16_t shtrVmul; // multiplier of shutter voltage calculation
|
||||
uint16_t shtrVdiv; // divider -//-
|
||||
} user_conf;
|
||||
|
||||
extern user_conf the_conf;
|
||||
|
||||
Reference in New Issue
Block a user