This repository has been archived by the owner on Jun 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Arnd
authored and
Arnd
committed
Apr 26, 2017
1 parent
43d7d0a
commit c4a1c51
Showing
2 changed files
with
4 additions
and
5 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
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 |
---|---|---|
|
@@ -33,8 +33,7 @@ | |
** ** | ||
** Vers. Date Developer Comments ** | ||
** ====== ========== =================== ======================================================================== ** | ||
** 1.0.1 2017-05-26 [email protected] Changed _CurrentLSB from uint16_t to uint32_t due to overflow bug, ** | ||
** corrected begin() parameter name from nanoOhm to milliOhm ** | ||
** 1.0.1 2017-05-26 [email protected] Changed _CurrentLSB from uint16_t to uint32_t due to overflow bug ** | ||
** 1.0.0 2017-01-10 [email protected] Fixed library file name, added constants for setMode() call ** | ||
** 1.0.0 2017-01-09 [email protected] Added reset() and setMode() calls ** | ||
** 1.0.b2 2017-01-08 [email protected] Removed INA219 code, concentrating on only the INA226 ** | ||
|
@@ -79,7 +78,7 @@ | |
public: // Publicly visible methods // | ||
INA226_Class(); // Class constructor // | ||
~INA226_Class(); // Class destructor // | ||
void begin(const uint8_t maxBusAmps, const uint32_t milliOhmR); // Class initializer // | ||
void begin(const uint8_t maxBusAmps, const uint32_t nanoOhmR); // Class initializer // | ||
uint16_t getBusMilliVolts(const bool waitSwitch=false); // Retrieve Bus voltage in mV // | ||
int16_t getShuntMicroVolts(const bool waitSwitch=false); // Retrieve Shunt voltage in uV // | ||
int32_t getBusMicroAmps(); // Retrieve microamps // | ||
|