-
Notifications
You must be signed in to change notification settings - Fork 28
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
10 changed files
with
1,538 additions
and
21 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
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
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# changes for madflight | ||
|
||
- replace TwoWire with HW_WIRETYPE (and move INA228.cpp into INA228.h to make it a "template") | ||
- add calibrate() | ||
- add isConversionReady() | ||
- move i2c init from constructor to begin() | ||
|
||
|
||
# Change Log INA228 | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
|
||
## [0.1.4] - 2024-10-28 | ||
- add and rename wrappers for core functions | ||
- update all examples | ||
- update readme.md | ||
|
||
## [0.1.3] - 2024-10-22 | ||
- fix #10, remove limit for the Amperes, kudos to geoFrancis | ||
- fix handling negative values for **getShuntVoltage()** | ||
- fix handling negative values for **getCurrent()** | ||
- update readme.md | ||
- add **INA228_demo_two_devices.ino** | ||
- minor edits. | ||
|
||
## [0.1.2] - 2024-09-29 | ||
- merge fix for temperature - kudos to xkachya! | ||
- fix for getShuntVoltage() - kudos to markliquid1 (PR #8) | ||
- refactored many functions. | ||
- add INA228_CFG_REGISTER defines (register 0). | ||
- add INA228_ADC_REGISTER defines (register 1). | ||
- fix ADC functions. | ||
- optimize **xxxDiagnoseAlertBit()** functions | ||
- rename **clearDiagnoseAlertBit()** | ||
- fix **getDieID()** | ||
- add **INA228_performance.ino** | ||
- change return type **getEnergy()** and **getCharge()** to double. | ||
- update readme.md | ||
|
||
## [0.1.1] - 2024-05-15 | ||
- add limit functions | ||
- add threshold functions | ||
- add constants for DiagnoseAlert register | ||
- check them in unit test | ||
- move register constants to .cpp | ||
- make readRegister() and writeRegister() private | ||
- update readme.md, keywords.txt | ||
- minor edits | ||
|
||
## [0.1.0] - 2024-05-10 | ||
- initial version | ||
|
||
|
||
|
Oops, something went wrong.