I have a binary that I was able to convert to a uint64_t. It's big, so I really needed a uint64_t. I'm having trouble converting it to a char array. I can do it in a standalone project but not on Arduino
Some roadblocks that I encountered:
Any input is greatly appreciated.
Assuming you want to print "number" in HEX:
uint64_t number;
unsigned long long1 = (unsigned long)((number & 0xFFFF0000) >> 16 );
unsigned long long2 = (unsigned long)((number & 0x0000FFFF));
String hex = String(long1, HEX) + String(long2, HEX); // six octets