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

Unnecessarily setting dataPin HIGH #5

Open serialc opened 11 years ago

serialc commented 11 years ago

I'm working on making it function with 3V3 and while looking at the documentation noticed the following.

In SHT1x.cpp on line 220: digitalWrite(_dataPin, HIGH); is not necessary as it is already high.

Cheers, C-