Skip to content

Commit 21cc8ba

Browse files
committed
minor edit + fix build
1 parent 5beb765 commit 21cc8ba

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

libraries/INA226/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,3 +268,7 @@ See examples..
268268
- local var for current_lsb?
269269
- ??
270270
- make defines of "magic" numbers
271+
272+
## Resources
273+
- [TI - INA226 Details](https://www.ti.com/product/INA226#params)
274+
- [TI - INA226 datasheet](https://www.ti.com/document-viewer/INA226/datasheet)

libraries/INA226/examples/INA226_demo_2/INA226_demo_2.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void loop()
4848
for (int i = 0; i < 20; i++)
4949
{
5050
float bv = INA.getBusVoltage();
51-
float sv = INA.getShuntVoltage_mV();
51+
// float sv = INA.getShuntVoltage_mV();
5252
float cu = INA.getCurrent_mA();
5353
float po = INA.getPower_mW();
5454

libraries/INA226/examples/INA226_demo_plotter/INA226_demo_plotter.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void setup()
3535
void loop()
3636
{
3737
float bv = INA.getBusVoltage();
38-
float sv = INA.getShuntVoltage_mV();
38+
// float sv = INA.getShuntVoltage_mV();
3939
float cu = INA.getCurrent_mA();
4040
float po = INA.getPower_mW();
4141

libraries/INA226/library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version=0.3.0
33
author=Rob Tillaart <[email protected]>
44
maintainer=Rob Tillaart <[email protected]>
55
sentence=Arduino library for INA226 power sensor
6-
paragraph=Voltage current Volt Ampere
6+
paragraph=Voltage current Volt Ampere
77
category=Data Processing
88
url=https://github.com/RobTillaart/INA226
99
architectures=*

0 commit comments

Comments
 (0)