I am considering developing an Android app (mainly c++) that interfaces to an external microcontroller through the USB port. The app needs to perform an algorithm / computation at specific rate and give the output to the microcontroller.
Assuming the smartphone used has capable CPU, is there a way to gurantee that the phone is going to give an output in time? i.e., if the rate is 1 Hz, an output at t=0, 0.9, 0.85, 1, 0.93, etc seconds would be fine to me, but no separation should be longer than 1 sec in this case.
Aucun commentaire:
Enregistrer un commentaire