Go to Post Once you know where you want to go, you can decide how you want to get there. - sciguy125 [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
  #6   Spotlight this post!  
Unread 03-02-2004, 21:27
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,867
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: IR from scratch

Quote:
Originally Posted by Obi
I'm one of those programmers who needs to know how everything works in a code to learn. I don't like using code designed by someone else, besides just learning from it. Now, to the point...

Is it possible for me to just put the IR sensor on a digital input on the default code? I've been trying the sensor on a dig i/o. I told it to print the value to the terminal IFI loader screen, but it only equals 1, even when the sensor is not in. Am I doing something wrong?
Even on a polled digital input you should be able to see 0's mixed in with the 1's even pointing most IR rmote controls at the sensor. However, as others have noted you won't be able to use this on a competition robot, because you cannot poll it fast enough to follow the beacon sequence of IR flashes.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
 


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
Buckeye Webcast soap108 Regional Competitions 7 07-03-2003 10:44
Thoughts...King of the Hill Justin Rules/Strategy 32 16-01-2003 11:15
Who had the coolest wheels? Greg Perkins General Forum 24 05-05-2002 23:59
Shop from scratch Keithicus Technical Discussion 4 18-01-2002 16:04
2001 Scratch Awards Andy Grady General Forum 12 04-10-2001 22:04


All times are GMT -5. The time now is 06:10.

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