Skip to content
Snippets Groups Projects
Commit d76205a0 authored by Sai Lakhan Ekal's avatar Sai Lakhan Ekal
Browse files

fix reading of stable values

parent aac7cb72
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,8 @@ class Measurements:
self.clock.sleep(self.sleep_time)
for i in range(0, next_reads):
data = self.read_data()
# get the actual temperature & humidity
self.write_data(writer, next_temp, next_hum, data, self.cook_up_equi_indicator())
print('Read no.', str(i))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment