We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hello everyone; i have one machine in which i m having controller c8051f020 i have set time of 2hours and it is decrementing for the test which is done on the machine. i am changing rtc frequency to less than 1sec so that i can see the change with fastter time. rtc is used is ds1307. time is decremented in 1sec as rtc frequency taken is 1 hz which is set in the 0x07 register of rtc i am decrementing is to 250usec i.e frequency selection is 4.096KHz again i hav one more interrupt of 4msec (timer 3) which i have decremented to 200usec for the fast operation in which key detection and other processes are done but still process is slow. and i placed breakpoint in while(1) loop but still it is taking time. how all this is affected to while(1) loop? pls explain, what else i can do to decrement time faster, in case any doubts, pls let me know regards good day