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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user