Quote:
Originally Posted by THE DYNAMO
After first trying to measure our tacos we figured out that we would probably get better success by measuring how fast one of our motors is going for our shooter.
However, because it is going 12k RPM the java code we use isn't able to measure the difference between it sensing on and off. Does anyone know of a way to measure time at smaller intervals in java than the regular timer class, which measures in milliseconds.
|
The FPGA has hardware counters that can read that fast. You can access them using the counter class.