i want read & copy all bytes from txt file:
char * my_bytes = txtfile.txt; // for example
unsigned char binary[] = { my_bytes};
inside txtfile.txt: // its about 120 bytes
0x41, 0x10, 0xF0, 0x50 etc...
I know how to read file, but can't figure out how to copy it into binary and binary should be :
binary[120] = { my_bytes }
thanks in advance