|
Re: Problems with Encoder
You need to create an Encoder object from the WPILib stuff. Then you start it, and use Get to get the value. Reset will reset it.
You could for instance then do something like run a motor until encoder get returns 10, or 100 or whatever.
|