Open practicalarduino opened 12 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.
or, simply you can change the library to use INPUT_PULLUP???
every ocurrence of
pinMode(_dataPin, INPUT);
change to...
pinMode(_dataPin, INPUT_PULLUP);
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!