Go to Post I lose track of what day it is during build season. - Gary Dillard [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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-2011, 13:35
shoffing's Avatar
shoffing shoffing is offline
WINriver C++
AKA: Steve Hoffing
FRC #1647
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Shamong, New Jersey, America
Posts: 10
shoffing is an unknown quantity at this point
Trackers Returning True All the Time

We have our line trackers correctly calibrated, and the lights change. In our code, we print the value of the trackers to the driver station's user message box. Every time it prints out three 1's, even though the tracker lights are changing. We have all 3 trackers declared correctly, as well as their solenoid counterparts which need to be set to True at the beginning. Can someone provide us with code that will get the values from the trackers and print them to the user message area? Our trackers are called trackerL, trackerM, and trackerR. They are declared as Digital Inputs, and we use pointers to declare them. Thanks!
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


All times are GMT -5. The time now is 13:39.

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