I have this text file which has HEX values for some small image(16X16).
I want a code to read these values from the text file and convert them to integer array (int array_name[x]).
Later I want to send this array to micro controller.
I see
But I need that code for access to the text file
(for example if I load the file to Memo1 ,
I have to start from line 7 and read the character for each HEX number after that make converting ...... )
The file uses C-syntax and can be read by any C-compiler at compile time. If you want to read it by your own tool for some reason, you can write a parser by using C string functions.