NOOB HELP: want to access one bit at a certain address
Posted: Sat Sep 08, 2007 5:57 pm
We are using TIMER1 as a Timer on the 16F877A. What we are trying to do is count the number of times the Timer over flows by polling bit 0 of PIR1, which is TMR1IF. The question is how do we poll/read this one bit at a certain address or what is the code for polling/reading one bit at a certain location? There is a Bit_Test() function but how can we specify which byte/address to bit test?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum