this is my first post so if I do something wrong I apologize in advance and I accept any criticism hahaha.
I need to read an SD card that contains the following without line breaks, all together
0x3,0x3,0x5B,0x16,0x14,0x1,0x3C,0x1,0x84,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x12,0x0, 0x4,0x0,0x85,0x0,0x3C,0x0,0xC0,0x3C,0xCC,0xCF,0xFF,0xF3,0xFE,0xFF,0xFF,0xBE,0xEB,0xAA,0xBA,0xAA,0xAA,0xAA,0xBA,0xA9,0x95, 0x65,0x55,0x55,0x55,0x55,0x51,0x15,0x54,0x0,0x0,0x0,0x44,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1, 0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1, 0x1,0x1,0x1,0x57,0x12,0x5A,0x5E,0x1C,0x99,0x53,0x5E,0x56,0x98,0x4,0x3E,0x35,0x1A,0xD5,0xBE,0x67,0x9A,0x84,0x3E,0x26,0x29, 0x53,0xDE,0x20,0xAD,0xD2,0x1E,0x33,0x2E,0x14,0x7E,0x76,0xBE,0x8,0x1E,0x51,0xC0,0xD9,0xFE,0x64,0x23,0xD9,0xBF,0x14,0x26,0xE9, 0x7F,0x73,0x38,0x47,0x7F,0x47,0xC0,0x97,0x3F,0x27,0xC2,0x4E,0x9F,0x39,0x3C,0xD1,0xFC,0x3B,0x3F,0xC0,0x98,0x6C,0xC4,0xCA,0xB8,0x68,0x40,0x9C,0xB9,0x68,0x43,0x1E,0x39,0x68,0xC5,0x9E,0x19,0x7C,0x21,0x1A, 0x5E,0x0,0x0,0x0,0x0,0x0,0x0,0x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 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,
And store it in a uint8_t, so that it looks like this
uint8_t fingerTemplate[512] = {0x3,0x3,0x5B,........0x0,0x0,0x0,0x0,0x0,}; (SUMMARIZED)
The closest thing I saw was this that does it with a char.
void setup() {
char msg[]="01234";
uint8_t vals[8]; // Array to store your values
Serial.begin(115200);
while (!Serial) {}
char temp[5];
for (int i=0; i<strlen(msg); i++) {
sprintf(temp, "0x%x", msg[i]);
Serial.print(temp);
Serial.print(" ");
}
Serial.println();
}
void loop() {
}
Thanks in advance :)