Thank you for any attention to this post. I am attempting to record an encoder in a list. I have written a program that prints the data to the screen and then prints the list. The two sets of numbers are different. I was hoping someone could point out what I was doing wrong.
The screen then prints this:
two different lists, since I am a new user I cannot upload a second image. I will try to upload it as the first comment. Also, I am trying to figure out how to embed code.
yea, we should have probably have made that function take a void *.
remember that the length you pass is in bytes, so if you need to save 100 uint32_t values, it would be 400.
strlen isn’t going to work properly with an array of binary data, it will look for first occurrence of a byte with a value of 0. If you want to save the whole array, use sizeof(myTestData)
(ok, I see you switched to saving a text string, so strlen will work ok)