change default fan speed

This commit is contained in:
2022-04-02 09:20:14 +02:00
parent ddbbbf7581
commit a5ff9a0183

3
main.c
View File

@@ -57,9 +57,10 @@ void IO_LIBRARY_Init(void) {
#define STEP_SIZE 5
#define TOP_VALUE 40
void do_luefter(){
static uint8_t fan_value = TOP_VALUE*0.8;
static uint8_t fan_value = TOP_VALUE*0.5;
static uint8_t fan_state = 0;
if(!read_Input(IN_ANLAGE_EIN, LEVEL)){
fan_state = 0;
ioHelperSetBit(outStates, LED_LUEFTER, 0);