Skip to content

Releases: nadavmatalon/MCP9802

Switched from 'WSWire' library to 'Wire' library for I2C communications

24 Oct 21:20
Compare
Choose a tag to compare
Merge pull request #6 from nadavmatalon/wire

Switched from 'WSWire' library to 'Wire' library for I2C communications

Namespace

20 Oct 01:18
Compare
Choose a tag to compare

Added namespaces to prevent conflicts with other libraries

Switch from using String class to lighter PString Class

09 Oct 16:04
Compare
Choose a tag to compare

Changed auxiliary functions: MCP9802InfoStr() and MCP9802ComStr() to work with the PString class instead of the String class to further reduce memory footprint. For this purpose, added PString.h & PString.cpp files to /utility folder. In addition added "I2C STATUS" (CONNECTED / NOT CONNECTED) field to device information string.

License Change to MIT

05 Oct 08:40
Compare
Choose a tag to compare

License was changed from GNU (GPL) to MIT

Functionality Change: Hysteresis & Limit Value Setting

04 Oct 19:12
Compare
Choose a tag to compare

Small change in functionality: attempting to set hysteresis or limit beyond the legitimate range (-55°C - 125°C / -67°F - 257°F) now sets the register to the maximum/minimum allowable value rather than do nothing.

Fully Tested MCP9802 Driver Library for Arduino

03 Oct 22:18
Compare
Choose a tag to compare

The MCP9802 is a 9 to 12-Bit Single-Channel Temperature Sensor with Hysteresis & Limit (i.e. Alert) capabilities, as well as a hardware I2C interface.

This library contains a robust driver for the MCP9802 that exposes its entire functionality (i.e. Configuration, Temperature, Hysteresis, Limit, and Alert Settings), allowing the end-user to get/set data in degrees Celsius or Fahrenheit.