Hi all, i'm new to using multiple timers. Im trying to plan a short project. I was wondering if it's possible to store a value from one timer into a variable that a second timer would be able to use. The purpose would be to have TIMER_ONE check and redetermine at long intervals the value of var1 and have TIMER_TWO use that value for a different purpose on a short interval. Any ideas or is this possible at all?
thanks it would look something like this:
Code:
switch (nIDEvent)
{
case TIMER_ONE:
var1 = 10;
break;
case TIMER_TWO:
var2 = var1+5;
break;
}