Go to Post The very fact that parts are rumored to be being re-used may be sufficient reason for the rule-makers to change a rule to prevent the re-use of that very part (not that they would ever be that devious!) - dlavery [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
  #1   Spotlight this post!  
Unread 29-01-2004, 08:51
pagemauck pagemauck is offline
Registered User
#0437
 
Join Date: Oct 2003
Location: richmond, va.
Posts: 25
pagemauck is an unknown quantity at this point
help! Am really stuck!!!!

Have been trying for a week to get digital input while in autonomous mode. After the Getdata line in void User_autonomous_Code we have

if (rc_dig_in06 == 0) pwm01=255: else pwm01=127;

We have the light sensor hooked up to digital input #6. It appears to be working and we have adjusted sensitivity on it. We have also swapped out the sensor. Simple lines like pwm01=255; work fine in our program. I have tried moving this line in all places in the program but it doesn't help.

My students want to write code to read wheel speed using this sensor, but I am frustrated I can't get input.

Any ideas would be very much appreciated!!!
 


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
guy stuck in toilet! robot180 Chit-Chat 8 14-11-2003 22:27
Radisson Inn Astrodome Mike Martus Championship Event 49 13-05-2003 21:03
Has any one stuck a drill motor in the FP trans? Lotownvw Motors 15 21-04-2003 23:57
any one stuck @ home instead of nats? Robocardgrl5 Championship Event 22 28-04-2002 08:13
Gm Patrick Canale Championship Event 87 25-06-2001 11:13


All times are GMT -5. The time now is 04:18.

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