practicalarduino / SHT1x

Arduino library to support SHT1x-series (SHT10, SHT11, SHT15) temperature / humidity sensors from Sensirion
http://www.practicalarduino.com/
153 stars 118 forks source link

Ack Error 1 #4

Open practicalarduino opened 12 years ago

practicalarduino commented 12 years ago

Hello, I'm a user of Arduino in China. When I was using SHT1x.h in Arduino 1.0.1, there was an "Ack Error 1" error, which is all right in Arduino 1.0 and earlier version. I can't fix it by myself. So could you write a new version SHT1x.h for Arduino 1.0.1. thx!

EUA commented 11 years ago

Issue with Arduino 1.0.2 too. Edit: Look there is no error. Just add 10K resistor between DATA to VCC and it starts working with 1.0.2.

abegines commented 6 years ago

or, simply you can change the library to use INPUT_PULLUP???

every ocurrence of pinMode(_dataPin, INPUT); change to... pinMode(_dataPin, INPUT_PULLUP);