Skip to content

Instantly share code, notes, and snippets.

View AlisonSchofield's full-sized avatar

Alison Schofield AlisonSchofield

  • Hood River, Oregon
View GitHub Profile
@AlisonSchofield
AlisonSchofield / mcp9808-fixdelay.c
Created July 3, 2016 20:14
mcp9808: fix delay after changing resolution
/*
* mcp9808.c - Support for Microchip MCP9808 Digital Temperature Sensor
*
* Copyright (C) 2016 Alison Schofield <amsfield22@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf
@AlisonSchofield
AlisonSchofield / mcp9808-suspend.c
Created July 2, 2016 18:50
mcp9808: add support for suspend/resumes power operations
/*
* mcp9808.c - Support for Microchip MCP9808 Digital Temperature Sensor
*
* Copyright (C) 2016 Alison Schofield <amsfield22@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf
@AlisonSchofield
AlisonSchofield / mcp9808-shutdown.c
Created June 28, 2016 03:29
mcp9808: add support for shutdown/low-power mode
/*
* mcp9808.c - Support for Microchip MCP9808 Digital Temperature Sensor
*
* Copyright (C) 2016 Alison Schofield <amsfield22@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf
@AlisonSchofield
AlisonSchofield / mcp9808-delay.c
Created June 22, 2016 23:20
mcp9808: add delay after integration time changes
/*
* mcp9808.c - Support for Microchip MCP9808 Digital Temperature Sensor
*
* Copyright (C) 2016 Alison Schofield <amsfield22@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf
@AlisonSchofield
AlisonSchofield / mcp9808-cleanup.c
Created June 15, 2016 17:36
mcp9808: misc cleanups
/*
* mcp9808.c - Support for Microchip MCP9808 Digital Temperature Sensor
*
* Copyright (C) 2016 Alison Schofield <amsfield22@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf
@AlisonSchofield
AlisonSchofield / mcp9808-resolution.c
Created June 13, 2016 20:04
mcp9808: add support for changing measurement resolution
/*
* mcp9808.c - Support for Microchip MCP9808 Digital Temperature Sensor
*
* Copyright (C) 2016 Alison Schofield <amsfield22@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf
@AlisonSchofield
AlisonSchofield / mcp9808-calc-v2.c
Created June 13, 2016 17:49
mcp9808: version 2 of the temp calculation
/*
* mcp9808.c - Support for Microchip MCP9808 Digital Temperature Sensor
*
* Copyright (C) 2016 Alison Schofield <amsfield22@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf
@AlisonSchofield
AlisonSchofield / mcp9808-calc.c
Last active June 8, 2016 17:03
mcp9808: add support for temperature calculation
/*
* mcp9808.c - Support for Microchip MCP9808 Digital Temperature Sensor
*
* Copyright (C) 2016 Alison Schofield <amsfield22@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf
@AlisonSchofield
AlisonSchofield / mcp9808-read-raw.c
Last active June 23, 2016 22:02
mcp9808: add support to read temp register
/*
* mcp9808.c - Support for Microchip MCP9808 Digital Temperature Sensor
*
* Copyright (C) 2016 Alison Schofield <amsfield22@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf
@AlisonSchofield
AlisonSchofield / mcp9808-probe.c
Last active June 8, 2016 17:04
mcp9808 probe support only
/*
* mcp9808.c - Support for Microchip MCP9808 Digital Temperature Sensor
*
* Copyright (C) 2016 Alison Schofield <amsfield22@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf