Search found 1 match

by on4bhm
Thu May 18, 2017 4:25 pm
Forum: WiPy and CC3200 boards
Topic: Onewire and DS18B20
Replies: 42
Views: 29000

Re: Onewire and DS18B20

Hi, I'm using a Lopy. I can't get the ds18b20 to work. I got a par version. so no extra vcc is needed. the data line is pulled up with a 4K7 resisitor to 3V3 my dataline is at G22 this code gives me no errors: from ds18x20 import DS18X20 d=DS18X20(Pin('G22', mode=Pin.OUT)) result=d.read_temps() prin...