The memory is incremented by one each time a new datapoint is collected. I am looking at the samples counter to determine the mem_end location which depends on when the user does his rounds. If the user takes the reading early the next time it may be mem_end is 1045h so I will loop until: i = 0 to 45.
I will also add a loop from 0 to 90 and see what happens! So the OWOUT will send the data as hex without the "$"? I don't think I understand how the data is being sent via OWOUT.
Thanks,Code:mem_start = 0 mem_end = X 'Is dependant on the samples counter at time of reading for i = 0 to mem_end OWOUT DQ, 1, [$CC, $F0, i, $10] OWIN DQ, 0, [TempRec] goto convert_temp next i
Scott




Bookmarks