![]() |
C++ Encoder Help Needed
So this is our first year using c++ and we were wondering if anyone could help us get encoders working. Things we need to know is how to get it to print to Smart Dashboard, well actually we just need help in general...
|
Re: C++ Encoder Help Needed
for one, if I can ask, why do you need to print it to the dashboard? As to how else to use it, initialize it using the encoder class and check the WPI library for its functions. the main one's you need to know are .Get() which gives you the value, and .Reset() which resets the encoder.
|
Re: C++ Encoder Help Needed
You also need to Start() them, otherwise they won't begin counting.
|
Re: C++ Encoder Help Needed
Quote:
|
Re: C++ Encoder Help Needed
|
Re: C++ Encoder Help Needed
Quote:
|
| All times are GMT -5. The time now is 12:04. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi