Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Makes sense.. thank you for the explanation.. I can't quite grasp the concept of interrupt on change though..
can you help me understand using a simple code or alternative to delay_ms() ?? How do i interrupt between instructions?
because for example, i can't do this:
while(state==0){...
I am writing a code in mikroc,
Can someone explain as to why it is difficult to break out of loop.. if the loop contains a high delay_ms()?
say if i have a button.. and if i press the button once.. it should break out of the loop..
say for example i have a code:
while(btn1==1){...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.