| 163 | |
| 164 | |
| 165 | bool SHT::reset(bool hard) |
| 166 | { |
| 167 | bool b = writeCmd(hard ? SHT_HARD_RESET : SHT_SOFT_RESET); |
| 168 | if (b == false) |
| 169 | { |
| 170 | return false; |
| 171 | } |
| 172 | delay(1); // table 4 datasheet |
| 173 | return true; |
| 174 | } |
| 175 | |
| 176 | |
| 177 | void SHT::setHeatTimeout(uint8_t seconds) |