hello sir, i'm trying to make a on & off code. i'm using a delay by increasing a variable's value (x++) in isr ,if i'll press a button it will check for the x value. it is 1000 or not.(if(x>=1000)).then it will execute the further code and then x will be 0. but if i press the check buttom after 1 or 2 min it does not work.
Joined: Tue. Feb 25, 2020
Posts: 62 View posts
Last Edited: Sun. Mar 22, 2020 - 05:36 PM