mirror of
https://gitea.ecohim.ru:3000/RS485_Relay/RS485_Relay2_fw.git
synced 2025-08-06 16:07:17 +03:00
E-STOP, Light button and pump status functionality fixed/implemented; FW is ready for testing!
This commit is contained in:
@@ -14,14 +14,15 @@
|
||||
|
||||
#define PWM_DUTY_MIN 0
|
||||
#define PWM_DUTY_MAX 255
|
||||
#define PWM_LIGHTS_STEP 20 // Time step in ms between LED light PWM changes
|
||||
#define LIGHTS_TIME 1000 // Time in ms to spend for smooth lights level change
|
||||
#define PWM_LIGHTS_STEP 20 // Time step in ms between LED light PWM updates
|
||||
#define LIGHTS_TIME 600 // Time in ms to spend for smooth lights level change
|
||||
|
||||
|
||||
void estop_reset(void);
|
||||
void board_init(void);
|
||||
uint16_t clamp_duty(uint16_t duty);
|
||||
void set_pwm(uint8_t unit, uint16_t duty);
|
||||
void set_light(uint16_t duty);
|
||||
void loop_iterate();
|
||||
void update_service_indication(void);
|
||||
|
||||
|
Reference in New Issue
Block a user