void Screen2View::up1(){ if (buttonWithIcon1.getPressedState()==true) HAL_GPIO_WritePin(GPIOD, GPIO_PIN_6,GPIO_PIN_RESET); else HAL_GPIO_WritePin(GPIOD, GPIO_PIN_6,GPIO_PIN_SET);}what is wrong, thans for help
hi,Function "up1" is named lifting up the blinds.in my code is no errors but it not works. I just want to change value from high to low on my pin PD6 when I pushing the "buttonWithIcon1" and I dont know how correctly use "IF" in this case?/Lucas