|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| guy stuck in toilet! | robot180 | Chit-Chat | 8 | 11-14-2003 10:27 PM |
| Radisson Inn Astrodome | Mike Martus | Championship Event | 49 | 05-13-2003 09:03 PM |
| Has any one stuck a drill motor in the FP trans? | Lotownvw | Motors | 15 | 04-21-2003 11:57 PM |
| any one stuck @ home instead of nats? | Robocardgrl5 | Championship Event | 22 | 04-28-2002 08:13 AM |
| Gm | Patrick Canale | Championship Event | 87 | 06-25-2001 11:13 AM |