• When I reboot (long press BNT1 + BTN2) the state is lost.
    So I guess that during the hardware setup stage, the state of all registers is initialized to some defaults. As a consequence, my flag is set to 0.

About

Avatar for Matjaz @Matjaz started