Skip to content

Gracefully handle read errors, check CRC

Latest
Compare
Choose a tag to compare
@nseidle nseidle released this 09 Dec 03:50

v2 updates:

  • Remove Wire.begin from begin()
  • Remove all Serial.prints from library
  • Pass Wire in as a stream object into the library
  • Change example(s) to run at 115200. Test if sensor.begin() was successful.
  • Add link to library within examples
  • Fix repo name to "SparkFun_Si7021_Breakout_Arduino_Library"
  • Gracefully handle read errors
  • Add isConnected() function
  • Avoid hard delay(100) time waits. Poll, pass in max wait, or find other way if possible.
  • Remove magic numbers
  • Fix typos 'mesurment', 'makeMeasurment'
  • Provide additional examples demo'ing any extra functions (ie, heaterOn/Off, changeResolution, etc)