cipi-cips
Member level 4
hello
Is it possible to compare value with timer in c18 compiler, if yes can you show me how
for example
I have variable that change from 1000-2000 and i have timer where interrupt occurs every 20ms
while (my_variable <= timer)
{
do something
}
thx
Is it possible to compare value with timer in c18 compiler, if yes can you show me how
for example
I have variable that change from 1000-2000 and i have timer where interrupt occurs every 20ms
while (my_variable <= timer)
{
do something
}
thx