Go to Post Who says girls can't be cute, fun AND SMART?!? - Marisa Russo [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
  #3   Spotlight this post!  
Unread 30-01-2008, 00:22
darkdwarven's Avatar
darkdwarven darkdwarven is offline
Registered User
AKA: Phantom
FRC #2348
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2005
Location: Hawaii
Posts: 8
darkdwarven is an unknown quantity at this point
Question Re: ir sensor Board ??????????????????????

I've been searching the forums for remedies to why we can't make our IR Board work. And i've found some that for me have had no effect on the performance of our motors. Right now to test if we can program anything to correspond with the signals that tie IR board reveives/gives, we inserted the following code:
Code:
if (rc_dig_in07 = 0)
{
	ButtonPressed = TRUE;
	if (ButtonPressed = TRUE)
		{
			pwm01 = pwm02 = 127;
		}
}
That is a function we are trying to put right before our autonomous program. The purpose was to allow the motors to run and if there is an interrupt from the IR Board, the motors would stop for the remainder. The autonomous program works fine without that 'if' statement but doesn't work at all with it. It compiles just fine with everything defined and all. Also, we are working off of port 7 because our advisor read something in the default guide about 1-6 being reserved for more advanced functions?

Any suggestions for resources or troubleshooting options??

Thanks,
Team 2348
__________________
I have nothing important to say here, thus I've wasted a few seconds of your life. Isn't that depressing?

Last edited by darkdwarven : 30-01-2008 at 00:25.
 


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
Wiring the IR sensor board govvijay Programming 9 05-02-2008 19:41
Technical Details for the IR sensor board tuzzer Electrical 1 19-01-2008 08:38
How to program ir sensor board?? RRA4LIFE2 Programming 1 11-01-2008 21:47
Perf Board = BS2-IC Carrier Board? indieFan Electrical 2 16-09-2004 08:28
Making a Sensor Board SpaceOsc Technical Discussion 11 15-05-2004 12:46


All times are GMT -5. The time now is 19:08.

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