Guest
#3682491
Hey everybody, this is my first time posting, so please be patient with me.. I need help with my Code.. i am very unexperienced. I want to write the CS_UID (the unique ID of my microcontroller) to UART, using this function: - void appWriteDataToUart(uint8_t* aData, uint8_t aLength); Therefore i think i need to convert the hexadecimal CS_UID (64bit long) which is defined as follows for example: - #define CS_UID 0x1234567890abcdff into something that makes sense and is possible to be written to UART. Someone told me this would help.. -----------------------------------------------------
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
but i dont know how to use that.. im clueless. These functions return "int" and use printf and %c.. i'd appreciate any help or other solution! Thanks in advance. P.S: In the attached .c file at line 89 is where i am stuck.