Flashing the LEDs using PWM on TIM4. Pressing the button will reset the whole thing and invert the outputs.