View Single Post
  #2   Spotlight this post!  
Unread 17-01-2009, 13:15
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 323
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: optical encoder feedback windriver

Quote:
Originally Posted by darkorbit View Post
I'm just wondering how do I recieve data back from the optical encoder using windriver? Do I see it threw the console? or debug window? This is my code:


INT32 encoderValue = myEncoder.get();
cout << encoderValue;
You should see it either one. Make sure you have myEncoder.Start(); as well
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote