change default fan speed
This commit is contained in:
3
main.c
3
main.c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user