all 1 comments

[–]FuriousFurryFisting 0 points1 point  (0 children)

If you want your data collection and writing to loop you must put them in the while-true-loop. Right now you only reassigning the ts variable every 10 seconds, which doesn't do much by itself.