Go to Post Gracious Professionalism does not take a holiday. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 23-03-2004, 18:32
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: A quick IR sensor question

the way I used them no you cant distinquish between the 1mS and 2mS pulse widths on the opposite sides of the field - our sensors point 90° left and right from the front, so we know which is which - when the right sensor goes off, turn right - you dont care which beacon type it really is, right?

if you want to use rc_dig_in02 for the other one, the inter flag bit is INTCON3bits.INT3IF instead, and make a second set of variables for the other side, like DiSeeR and DirFilterR - and make a copy of the code for the right side.

BTW i didnt mention that you have to declare the variables used in that code - I assumed you already knew that.

your code above looks correct (when DiSeeL==1) then that sensor is seeing the beacon

Last edited by KenWittlief : 23-03-2004 at 18:34.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Q&A Discuss: Quick C Programming Q CD47-Bot Extra Discussion 6 16-11-2003 11:16
A quick and entertaining lesson Veselin Kolev Chit-Chat 12 19-08-2003 12:28
Image Discuss: If done. Quick Fix is here CD47-Bot Robot Showcase 2 04-03-2003 20:07
Image Discuss: Team 1089 Team Mercury's robot Quick Silver CD47-Bot Robot Showcase 8 25-02-2003 10:33
Need some quick help, ASME scholarship! Hymnson General Forum 2 25-02-2002 16:07


All times are GMT -5. The time now is 09:00.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi