Hi,
I'm writing an application that receives data(ASCII characters) serially via wiegand interface into a variable uint64_t mydata. I need to split mydata into 8 bytes which represents individual characters.
Can somebody help me with a way to split/convert uint64_t into 8 bytes.
Thanks you in advance.
I'm writing an application that receives data(ASCII characters) serially via wiegand interface into a variable uint64_t mydata. I need to split mydata into 8 bytes which represents individual characters.
Can somebody help me with a way to split/convert uint64_t into 8 bytes.
Thanks you in advance.
Comment