Skip to content

Commit 4eeb042

Browse files
committed
Fix bug - Pin imported from machine
1 parent 500e8b3 commit 4eeb042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lessons/micropython/micropython/thermometer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import onewire
3030
from ds18x20 import DS18X20
3131

3232

33-
pin = machine.Pin(4, Pin.IN)
33+
pin = Pin(4, Pin.IN)
3434
ow = DS18X20(onewire.OneWire(pin))
3535

3636
sensory = ow.scan()

0 commit comments

Comments
 (0)