diff --git a/examples/ds18x20_asynctest.py b/examples/ds18x20_asynctest.py index c066fe9..c4cd7da 100644 --- a/examples/ds18x20_asynctest.py +++ b/examples/ds18x20_asynctest.py @@ -4,10 +4,10 @@ # the conversion is in progress. # Author: Louis Bertrand, based on original by Tony DiCola -import time +# A 4.7Kohm pullup between DATA and POWER is REQUIRED! +import time import board - from adafruit_onewire.bus import OneWireBus from adafruit_ds18x20 import DS18X20 diff --git a/examples/ds18x20_simpletest.py b/examples/ds18x20_simpletest.py index 493aee3..36906f6 100644 --- a/examples/ds18x20_simpletest.py +++ b/examples/ds18x20_simpletest.py @@ -1,9 +1,10 @@ # Simple demo of printing the temperature from the first found DS18x20 sensor every second. # Author: Tony DiCola -import time -import board +# A 4.7Kohm pullup between DATA and POWER is REQUIRED! +import time +import board from adafruit_onewire.bus import OneWireBus from adafruit_ds18x20 import DS18X20