Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/14/05 11:52
Read: times


 
#99371 - counter program
Responding to: ???'s previous message
thanku charles
but i have already mentioned that i have included the file lcdaccess.h . the main problem is that the program is measuring time and the timer t1 is counting pulses but the timer o T0 is going into indefinite loop at the last while loop. it is not coming back to
for (d = 0; d < 20; d++)
{
DELAY_HARDWARE_50ms();
}

it is getiing interrupted by the overflow interrupt TF0 but when it returns it is not going to the above for loop but again going to the while loop.
i think you understand my problem.

and the #include statement is right #include<AT89S8252.h>
it is defined in kiel microvision.
and the flag statment also can be replaced with if(!TF0) etc . then also it is not working


please help


List of 4 messages in thread
TopicAuthorDate
AT89S8252 COUNTER PROGRAM IS NOT WORKI            01/01/70 00:00      
   Reformat using [pre][/pre] html tags!!!            01/01/70 00:00      
      counter program            01/01/70 00:00      
   It looks obvious to me....            01/01/70 00:00      

Back to Subject List