• I would be interested to know if there is a way to make some code run only on first boot, but not on bnt3 long presses

    No, I'm afraid not. However given that register is 0 on boot, you could just use one bit of it to store 'I've already run', to figure out if you're running after a BTN3 reboot or not?

About

Avatar for Gordon @Gordon started