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.
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)