Commit 568087f
committed
Automated update by Adabot (adafruit/adabot@6f44843)
Updating https://github.com/BiffoBear/CircuitPython_AS3935 to 2.0.0 from 1.0.0:
> Release candidate for v2.0.0 with I2C support
> Merge branch 'dev' into main
> Fixed weird error from previous merge.
> Merge branch 'dev' into main
> Completed updates of doc strings and simple example. Merge branch 'dev' into main
> Merge branch 'dev' into main
> Conflicts resolved
> Removed start up checks
> Refactored test_biffobear_as3935.py all tests pass
> Removed unnecessary tests from test_biffbear_as3935.py
> Removed pytest.skip from test_biffobear_as3935.py
> Removed unused @pytest.fixture from test_spi_interface.py
> Added stub _read_byte_in and write_byte_out functions to AS3935
> Edited test_board_responses to call AS3935_SPI. Tested on ItsyBitsy
> Edited doc stirngs to reflect new class + subclass arrangement
> Completed refactoring spi interface into a super class.
> Completed tests for readinto
> Tested writing address to SPIDevice part of _read_byte_in
> Added call to super().__init__
> Refactored to split out the SPI bus in prep for adding I2C support
> Add a few comments to test_biffobear_as3935.py
> Capitalized and commented all register constants
> Edited comments in biffoebear_as3935.py for clarity.
> Small edit for GitHub Pylint.
> Small fix for Pylint
> Added a call to _check_clock_calibration to the power_down setter.
> Refactored _spi_device_exists to _as3935_startup_checks
> Added a DIRECT_COMMAND = const(0x96) to make the code easier to read.
> Refactored _calibrate_clocks to seperate funcs for calibrating and checking
> Repeated commit as something weird happened.
> Refactored TRCO and SRCO regisiters. Refactored _calibrate_clocks.
> Edited setup.py to Dev status 5 - Production/Stable.1 parent 71cde89 commit 568087f
1 file changed
+1
-1
lines changed- .github/workflows/build.yml
- .github/workflows/release.yml
- .gitignore
- .pre-commit-config.yaml
- .pylintrc
- .readthedocs.yml
- CODE_OF_CONDUCT.md
- LICENSE
- LICENSES/CC-BY-4.0.txt
- LICENSES/MIT.txt
- LICENSES/Unlicense.txt
- README.rst+40-28
- README.rst.license
- __init__.py
- biffobear_as3935.py+269-195
- docs/_static/favicon.ico
- docs/_static/favicon.ico.license
- docs/api.rst
- docs/api.rst.license
- docs/conf.py
- docs/examples.rst
- docs/examples.rst.license
- docs/index.rst
- docs/index.rst.license
- examples/as3935_simpletest.py+15-7
- pyproject.toml
- requirements.txt
- setup.py+3-3
- tests/__init__.py
- tests/test_biffobear_as3935.py+177-240
- tests/test_board_responses.py+23-14
- tests/test_i2c_subclass.py+88
- tests/test_spi_interface.py+160
- tests/test_spi_subclass.py+120
0 commit comments