Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions adafruit_rfm69.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ def temperature(self) -> float:

.. warning:: Reading this will STOP any receiving/sending that might be happening!
"""
self.idle() # set radio to idle before reading temperature.
# Start a measurement then poll the measurement finished bit.
self.temp_start = 1
while self.temp_running > 0:
Expand Down