Open Wurstnase opened 9 years ago
hex32 is for uint32s and pointers, not uint8s
Right. My first idea was to bitshift and mask the uint_32 (32bit registers) to 2 uint_8 and send them with writechar().
sersendf() works similar to printf(), with formatting string and such stuff. uint8_t would be "%su", then. Formatting is described in the source code file.
Ok, I will test this also. With "%su" i will see an unsigned integer (base 10)?
With "%su" i will see an unsigned integer (base 10)?
Yes. There's also "%sx" for hex values.
Works geat :+1:
Hi @Traumflug
first commit works and upload also. Just tried to upload it as a new branch, but I don't have write access.