• Oh, forgot that initialization to zero goes to bss segment too, so either the attribute or try =1. volatile should not matter in that code you wrote, you don't access a variable from interrupts. That example possibly uses it because of setWatch with irq:true (?).

About

Avatar for fanoush @fanoush started