Go to Post The object of the team is not to design, build and compete a robot, it is to design, build and compete students. If after four years we have opened a student's eyes to the infinite possibilities they have in their life, it is worth all the effort. - adunakin [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #12   Spotlight this post!  
Unread 01-02-2008, 11:35
Tottanka's Avatar
Tottanka Tottanka is offline
It isnt about bots,its about humans
AKA: Liron Gurvitz
FRC #3211 (The Y Team)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2006
Location: Hadera, Israel
Posts: 1,418
Tottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond repute
Re: Hybrid Challenge-No Robot Left Behind

Quote:
Originally Posted by timville View Post
The problem with the code above is that the IR sensor does not remain as a "1" state when you hold the button. I believe the IR sensor will pulse the circut open and close every 100ms.

See my reply to your other thread with sample code on how to use the IR sensor with ROBOTC. http://www.chiefdelphi.com/forums/sh...ad.php?t=63004
yes.
what you need to do looks more like this:
Code:
If (RC_dig_in04)
     c=0;
If (RC_dig_in01)
     c=1;
If (RC_dig_in02)
     c=2;
If (RC_dig_in03)
     c=3;
if (c==1)
   pwm01=254;
if (c==2)
   Pwm02=0;
if (c==3)
   Pwm05=160;
__________________
My FRC record: 10 Years,FTA (2008-9), 3 Teams(1947,2669,3211).3 RCA, 1 Championship EI(2016), 1 Divisional finalist (2016), 1 Regional winner.
Israeli 2016 Volunteer of the year.
Reply With Quote
 


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
Left behind??? A scary story... meaubry Championship Event 4 04-04-2007 21:32
Left or right handed robot? DjAlamose General Forum 13 06-02-2006 15:51
Robot veers left when driving backwards! xxmaddjxx Technical Discussion 3 19-02-2005 04:57
Pa robot challenge Dave_222 Off-Season Events 77 16-01-2004 22:18
PA Robot Challenge VI cbudrecki Off-Season Events 1 29-03-2003 22:19


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

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