View Full Version : optical encoder feedback windriver
darkorbit
17-01-2009, 12:13
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;
wt200999
17-01-2009, 13:15
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
darkorbit
17-01-2009, 13:34
You should see it either one. Make sure you have myEncoder.Start(); as well
I added that but I still get nothing.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.