Timeline for Managing timer intervals using millis at random intervals
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 21, 2016 at 10:53 | comment | added | Lokanath | ya you are right,,,usage of interrupts needs more than beginners knowledge,,,if you know how to use it you can manage them | |
Jan 20, 2016 at 13:29 | comment | added | CamK | @Lokanath You could use global variables and declare them as 'volatile'. This tells the compiler to reload the variable every time you reference it as opposed to using a copy from a register. | |
Jan 20, 2016 at 6:47 | comment | added | Lokanath | Interrupts are good but how ever you cannot pass values to the ISR,as far as i know ISR will execute when the timerExpires and uses the values of variables current values at the expiry point inside ISR which i totally cannot control which makes program unpredictable | |
Jan 19, 2016 at 13:05 | comment | added | CamK | @Lokanath I'm curious. Why do you say that? | |
Jan 19, 2016 at 6:32 | comment | added | Lokanath | i am now using TimerOne ,,,it however is not the best method and not very safe | |
Jan 18, 2016 at 13:07 | history | answered | CamK | CC BY-SA 3.0 |