I just received a GearTooth sensor today to program into the robot in order to keep track of RPM, but i have no clue how to set up the gearTooth. I read the documentation on the class but couldn’t figure out what to do, here is what i currently have:
GearTooth shootSensor = new GearTooth(3);
in the robot initialize function:
my data function(called every two seconds in the main loop):
no values though, what could i be doing wrong?