-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,11 @@ | ||
The source code has been modified per this post ie. baud rate | ||
changed from 9600 to 115200 | ||
The default baud rate is 115200. | ||
|
||
https://www.wattsupmeters.com/forum/index.php?topic=8.0 | ||
|
||
To compile the binary type | ||
|
||
gcc -o wattsup wattsup.c | ||
To compile the binary type "make". | ||
|
||
Sample usage is as follows | ||
|
||
./wattsup -c 1 ttyUSB0 watts | ||
|
||
This will connect to WattsUp once and output the watt usage | ||
|
||
Binary has been provided. It was compiled under Centos 5 however it should | ||
be usable under most modern Linux 2.6+ systems. I tested it under Ubuntu | ||
8.04 and works just fine. Use at your own risk otherwise compile from | ||
source. | ||
This will connect to WattsUp once and output the watt usage. |