Skip to content

Commit

Permalink
add ups-hat.jpg
Browse files Browse the repository at this point in the history
  • Loading branch information
sndnvaps committed Sep 25, 2022
1 parent 859ca98 commit 0083dad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
Binary file added 360px-UPS-HAT-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# ups_monitor for raspberry pi
# ups_monitor for raspberry pi

![UPS_HAT](./360px-UPS-HAT-1.jpg)

## before build it ,need to install aarch64-none-linux-gnu to system

Expand All @@ -24,25 +26,25 @@ root@Rpi:/usr/bin# ups_monitor_rust
output just look like

```json
Debug: PowerMonitor
Debug: PowerMonitor
{
Voltage = 8.204V,
Shunt_Voltage = 528µV,
Current = 1.730A,
Power = 711mW
Power = 711mW
}
Debug: PowerMonitor
Debug: PowerMonitor
{
Voltage = 8.204V,
Shunt_Voltage = 525µV,
Current = 1.720A,
Power = 706mW
Power = 706mW
}
Debug: PowerMonitor
Debug: PowerMonitor
{
Voltage = 8.204V,
Shunt_Voltage = 545µV,
Current = 1.786A,
Power = 706mW
Power = 706mW
}
```

0 comments on commit 0083dad

Please sign in to comment.