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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/06/03 14:12
Read: times


 
#57938 - RE: reading 0->1 transitions on P1 and P3
Responding to: ???'s previous message

Thank you Abhishek,but if I realy understand what
that means "poll"(I am romanian and my english is
not so good!)I must write something like that:
while(1)
{
i_p1=P1;
if(i_p1 & 0x01)/*P1.0=1*/
{
"do something"
break;
}
}
The problem is that the programm must read all 8
bits transitions on P1(0->1) and must not read,
for example,the first transition if it read once,
and a second transition occur.And so on for all
8.I cannot use a "while" loop in this case.
Stefan


-tions on P1(0->1)


List of 7 messages in thread
TopicAuthorDate
reading 0->1 transitions on P1 and P3            01/01/70 00:00      
   RE: reading 0->1 transitions on P1 and P3            01/01/70 00:00      
      RE: reading 0->1 transitions on P1 and P3            01/01/70 00:00      
         RE: reading 0->1 transitions on P1 and P3            01/01/70 00:00      
            RE: reading 0->1 transitions on P1 and P3            01/01/70 00:00      
   RE: reading 0->1 transitions on P1 and P3            01/01/70 00:00      
      RE: reading 0->1 transitions on P1 and P3            01/01/70 00:00      

Back to Subject List