I'm using a Teensy 3 to drive a 9-DOF accelerometer (see my previous thread here).
I need to get the data back to my host system as quickly as possible (low latency), but Serial.print() has the overhead of converting everything to ASCII strings. Raw HID looks better, but I'd have to break things into bytes. Is there any sort of middleware library that makes it easy to send larger primitives back to the host system?
I could write one myself, but I'd wanted to check if someone had already invented this wheel first.
I need to get the data back to my host system as quickly as possible (low latency), but Serial.print() has the overhead of converting everything to ASCII strings. Raw HID looks better, but I'd have to break things into bytes. Is there any sort of middleware library that makes it easy to send larger primitives back to the host system?
I could write one myself, but I'd wanted to check if someone had already invented this wheel first.