Skip to content

Commit

Permalink
Bugfix on DS18X20 module
Browse files Browse the repository at this point in the history
  • Loading branch information
slabua committed Apr 9, 2024
1 parent db68b9d commit c549a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LCD/picomotodash_ds18x20.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def update_temps(self):
sleep_ms(round(750 / (2 ** (12 - DS_RESOLUTION))))

self.temperatures = []
for r in self.roms:
for r in range(len(self.roms)):
self.temperatures.append(self.ds_sensor.read_temp(self.roms[r]))

return self.temperatures
Expand Down

0 comments on commit c549a6c

Please sign in to comment.