Hi, Tom, On Aug 28, 2012, at 4:00 PM, Tom Kuiper wrote:
>> If you want to read the register value a second time, you need to seek to >> the beginning of the file first, then read four bytes. You should be able >> to repeat the seek/read pattern as many times as you want. >> > I close the file after I write to it and open it again for the read. After I > write to the file, "ls -l" gives a size of zero instead of 4. Is there a functional problem here or are you just annoyed that the file size shows 0? So what if the files size shows up as 0? Does it prevent you from reading/writing to the register? Dave