Skip to content

Commit 568087f

Browse files
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