toit icon indicating copy to clipboard operation
toit copied to clipboard

Driver for MCP9808

Open kasperl opened this issue 4 years ago • 1 comments

The Adafruit MCP9808 is a high accuracy I2C-based temperature sensor breakout board. There is no Toit driver package available for it yet. If you have an MCP9808 sensor, we could use your help to build Toit support for it.

Porting existing drivers to Toit is a great place to start contributing to the Toit community. Here is the source code of another driver package for inspiration and here is brief explanation on how to start writing an I2C driver in Toit.

kasperl avatar Nov 26 '21 09:11 kasperl

I have something up and running, including temperature alerts and interrupts: https://github.com/nilwes/MCP9808 TODO: Allow for floating point temperature thresholds.

nilwes avatar Nov 29 '21 23:11 nilwes