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

@@ -57,10 +57,7 @@ typedef enum{
#define CHKHALL() ((HALLPIN == (BTNPORT->IDR & HALLPIN)) == the_conf.hallactive)
#define CHKCCD() ((CCDPIN == (BTNPORT->IDR & CCDPIN)) == the_conf.ccdactive)
// multiplyer of shutter voltage (due to R divider)
#define SHTRVMUL (13)
extern volatile uint32_t Tms;
void hw_setup();
uint32_t getShutterVoltage();