i have tried to obtain accurate time by changing tmr0 and prescaler, but still no answer![]()
i have tried to obtain accurate time by changing tmr0 and prescaler, but still no answer![]()
You have a lot of stuff in the ISR. Take the IF_THEN_ELSE out of the ISR.
Dave
Always wear safety glasses while programming.
yes, i have tried it also, i put them in main loop but i could not obtain time accuracy.
i need a loop with constant 8 mic. sec. time period and multiplying it with two different variables to obtain to different signal. but how?
How fast are you allowed to run the MCU?
Dave
Always wear safety glasses while programming.
Dave
Always wear safety glasses while programming.
i am allowed to use pic16f84 and 10 mhz crystal. i think this project is impossible, since i have struggled so much, but unfortunately he has a circuit doing that with pic16f84 :0
thanks a lot mackrackit
that utility makes me more careful about timer. now let me review my program again
Bookmarks