USB Serial Write #143
Replies: 3 comments 1 reply
-
How about using defmt to approximate |
Beta Was this translation helpful? Give feedback.
-
It's an option, but seems to still be really logging-centric, carrying a lot of metadata like timestamp, level, location, file, line et. al. I would actually prefer unframed (ie. just a byte stream) because I'll be framing messages myself. I'm hoping this isn't that uncommon a thing to want to do. |
Beta Was this translation helpful? Give feedback.
-
On Thu, Jul 20, 2023 at 08:53:49AM -0700, Alec Thilenius wrote:
It's an option,
Acknowledge
|
Beta Was this translation helpful? Give feedback.
-
Is there a "simple" way to write bytes to the USB as a serial device? I want to transmit IMU data to a desktop application. I could live with the logging API for this if un-framed binary data can be sent with it? I see examples out there for interacting with USB via the HAL APIs, but they are all monstrously complicated and hurt my Grug brain. At the risk of sounding like a total luddite, I'm hoping for something akin to the Adruino
Serial.write()
🤞Btw... writing Rust on the Teensy is a dream come true, so thank you ❤️
Beta Was this translation helpful? Give feedback.
All reactions