Quote:
Originally Posted by waldohatesyou
Hi there, i have been trying to code a couple of sensors for our FRC robot.
hall effect sensor and an pontentiometer. unfortunately it hasnt been working; does anyone have any sample code in C++?
|
Depending on your application, Hall Effect sensor typically uses the counter object in WPILib.
Potentiometer uses analog input.
The more detail you provide, the more detailed the answers you get will be.