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