User Activity

Hello.I have a Nucleo board with stm32f302r8. I want to set a state variable for voltage window:state = STATE_OK if higher threshold > current voltage >  lower thresholdstate = STATE_AWD if higher threshold < current voltage or lower threshold > curr...