Update dht11.py

fix python3 coding error
This commit is contained in:
0x07CB 2024-10-19 23:19:30 +02:00 committed by GitHub
parent c33738a320
commit 67f84d8f63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ class DHT11(object):
""" """
return self return self
def next(self): def __next__(self):
""" """
Call the read method and return temperature and humidity informations. Call the read method and return temperature and humidity informations.
""" """