Skip to content

Commit c2e1e32

Browse files
committed
Clean-up and improvements
- Change internals to use adafruit_register for register and bit-field read/write - Updated table of constants, fix BusADCResolution values, add new values - Add new properties to access registers (advanced API) - Update ina219_simpletest to show some usage of the new properties
1 parent c024b6a commit c2e1e32

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
Adafruit-Blinka
22
adafruit-circuitpython-busdevice
3+
adafruit-circuitpython-register

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
author='Adafruit Industries',
3535
author_email='[email protected]',
3636

37-
install_requires=['Adafruit-Blinka', 'adafruit-circuitpython-busdevice'],
37+
install_requires=['Adafruit-Blinka', 'adafruit-circuitpython-busdevice', 'adafruit-circuitpython-register'],
3838

3939
# Choose your license
4040
license='MIT',

0 commit comments

Comments
 (0)