This to me seems like it should be a simple thing and easy to implement, but I think I am having a bad day and really cant find a solution. It really is entry level stuff I expect.
I have a data.h file I wish to include in the build code, the file includes a series of hex values to be used in an LED animation.
I am unsure right now how to extract this data to be then be translated into LED outputs. On searching forums I find answers for real time reading of files, via USB etc, AFTER the code has been built. For me however, I want the data read as part of the build process.
Should I be using the read() command?, how do I point to the right position within the file?
Can anyone point me in the right direction please. Many thanks in advance