i2c-adt7420
Advanced tools
Comparing version 1.0.2 to 2.0.0
{ | ||
"name": "i2c-adt7420", | ||
"version": "1.0.2", | ||
"version": "2.0.0", | ||
"description": "ADT7420/ADT7410 I2C temperature sensor driver", | ||
@@ -28,8 +28,8 @@ "keywords": [ | ||
"dependencies": { | ||
"i2c-bus": "^4.0.9" | ||
"i2c-bus": "^5.2.2" | ||
}, | ||
"devDependencies": { | ||
"chai": "^4.1.2", | ||
"mocha": "^5.0.4" | ||
"chai": "^4.3.3", | ||
"mocha": "^10.0.0" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # i2c-adt7420 | ||
[![npm license](https://img.shields.io/npm/l/i2c-adt7420.svg)](https://www.npmjs.com/package/i2c-adt7420) | ||
[![travis build](https://travis-ci.org/tvdstaaij/node-i2c-adt7420.svg?branch=master)](https://travis-ci.org/tvdstaaij/node-i2c-adt7420) | ||
[![tests](https://github.com/tvdstaaij/node-i2c-adt7420/actions/workflows/test.yml/badge.svg)](https://github.com/tvdstaaij/node-i2c-adt7420/actions/workflows/test.yml) | ||
@@ -11,4 +11,4 @@ Node.js driver for the acurate (±0.25°C) yet affordable [ADT7420][adt7420-prod] digital temperature sensor. | ||
This module was tested using a Raspberry Pi 3 Model B and the [EVAL-ADT7420-PMD][adt7420-eval] breakout board. | ||
Please do note that the power LED on the EVAL-ADT7420-PMD board significantly influences the temperature reading! | ||
This module was tested with Raspberry Pi 3B and 4B, wired to an [EVAL-ADT7420-PMDZ][adt7420-eval] breakout board. | ||
Please do note that the power LED on the EVAL-ADT7420-PMDZ board significantly influences the temperature reading! | ||
The LED or its series resistor should be desoldered if you need accurate temperature. | ||
@@ -26,3 +26,3 @@ | ||
Requires Node.js 6 or higher. | ||
Requires Node.js 14 or higher. | ||
@@ -109,3 +109,3 @@ ## Example: ADT7420 temperature server | ||
* `i2cBusNumber` Optional integer specifying the system's I2C device number of the bus the chip is attached to. | ||
If you use a Raspberry Pi, this should be 1 for a Raspberry Pi 3 and 0 for older models. | ||
If you use a Raspberry Pi, this should typically be `1` for a Raspberry Pi 2+ and `0` for the original model. | ||
Make sure the operating system supports I2C and that it is enabled. Default: 0. | ||
@@ -112,0 +112,0 @@ * `i2cAddress` Optional, one of `ADT7420.I2C_ADDRESS_0x48` (default), `ADT7420.I2C_ADDRESS_0x49`, `ADT7420.I2C_ADDRESS_0x4A`, `ADT7420.I2C_ADDRESS_0x4B`. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10621
6
156
+ Addedi2c-bus@5.2.3(transitive)
- Removedi2c-bus@4.0.11(transitive)
Updatedi2c-bus@^5.2.2