Skip to content

Commit

Permalink
Fix typos in INA219 docs (#2224)
Browse files Browse the repository at this point in the history
  • Loading branch information
gvaradarajan authored Nov 17, 2023
1 parent 88aa0c8 commit 60e6e60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/components/power-sensor/ina219.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Then remove and fill in the attributes as applicable to your power sensor, accor
"namespace": "rdk",
"attributes": {
"i2c_bus": <int>,
"i2c-addr": <int>,
"i2c_addr": <int>,
"max_current_amps": <float>,
"shunt_resistance": <float>
},
Expand All @@ -82,7 +82,7 @@ The following attributes are available for `INA219` sensors:
| Attribute | Type | Inclusion | Description |
| --------- | -----| --------- | ----------- |
| `i2c_bus` | integer | **Required** | The `number` of the [I<sup>2</sup>C bus](/components/board/#i2cs) that the sensor is connected to. |
| `i2c_address` | integer | Optional | The sensor's unique [I<sup>2</sup>C address](https://learn.adafruit.com/i2c-addresses/overview). <br>Default: `0x40`
| `i2c_addr` | integer | Optional | The sensor's unique [I<sup>2</sup>C address](https://learn.adafruit.com/i2c-addresses/overview). <br>Default: `0x40`
| `max_current_amps` | float | Optional | Default: 3.2A. The maximum current that the sensor can measure in amperes (A).
| `shunt_resistance` | float | Optional | Default: 0.1Ω. The shunt resistance value of the sensor in Ohms (Ω).

Expand Down
4 changes: 2 additions & 2 deletions docs/components/power-sensor/ina226.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Then remove and fill in the attributes as applicable to your power sensor, accor
```json {class="line-numbers linkable-line-numbers"}
{
"i2c_bus": <int>,
"i2c-addr": <int>,
"i2c_addr": <int>,
"max_current_amps": <float>,
"shunt_resistance": <float>
}
Expand Down Expand Up @@ -80,7 +80,7 @@ The following attributes are available for `INA226` sensors:
| Attribute | Type | Inclusion | Description |
| --------- | -----| --------- | ----------- |
| `i2c_bus` | integer | **Required** | The `number` of the [I<sup>2</sup>C bus](/components/board/#i2cs) that the sensor is connected to. |
| `i2c_address` | integer | Optional | Default: `0x40`. The sensor's unique [I<sup>2</sup>C address](https://learn.adafruit.com/i2c-addresses/overview). |
| `i2c_addr` | integer | Optional | Default: `0x40`. The sensor's unique [I<sup>2</sup>C address](https://learn.adafruit.com/i2c-addresses/overview). |
| `max_current_amps` | number | Optional | Default: 20A. The maximum current that the sensor can measure in amperes (A).
| `shunt_resistance` | number | Optional | Default: 0.1Ω. The shunt resistance value of the sensor in Ohms (Ω).

Expand Down

0 comments on commit 60e6e60

Please sign in to comment.