Right now the rampAmpTo(...) function just sets the correct bits to start a ramp, but the thread doesn't actually wait the time for the ramp to be finished. Add functionality to calculate how much time the ramp takes and make the thread wait accordingly.
Alternatively this issue might have to be addresses very differently once the fast ramp is integrated in the main matlab code, so check that first.
Right now the rampAmpTo(...) function just sets the correct bits to start a ramp, but the thread doesn't actually wait the time for the ramp to be finished. Add functionality to calculate how much time the ramp takes and make the thread wait accordingly.
Alternatively this issue might have to be addresses very differently once the fast ramp is integrated in the main matlab code, so check that first.