View Single Post
  #4   Spotlight this post!  
Unread 23-03-2004, 18:26
PBoss PBoss is offline
Registered User
#1212
 
Join Date: Jan 2003
Location: Nowhere
Posts: 9
PBoss is an unknown quantity at this point
Re: A quick IR sensor question

Thanks a lot, but I have one more question. So you are telling me that we should use DiSEEL in out if command used for navigation? So should it be like:
....
if(diSEEL==0)
{
//drive left and right (to find the beacon)
}
else
{
//drive forward for 5 secs.(when find the beacon)
}

But what if we have two sensors as you, one left and one right? We only have one variable, then what do we do? Also, can the sensor distinuish between the two beacons since they are on different frequencies?

Thanks a lot for your help.