Skip to content

Commit

Permalink
Merge pull request #15 from ladyada/master
Browse files Browse the repository at this point in the history
added pullup warning
  • Loading branch information
dhalbert authored Dec 4, 2019
2 parents 0db615b + 31972e3 commit cf4d8b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/ds18x20_asynctest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 3 additions & 2 deletions examples/ds18x20_simpletest.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit cf4d8b2

Please sign in to comment.