├── .github └── workflows │ ├── pylint.yml │ ├── python-package.yml │ └── python-publish.yml ├── .readthedocs.yaml ├── LICENSE ├── README.md ├── docs ├── Makefile └── source │ ├── conf.py │ ├── images │ ├── digital_pot.svg │ └── pot_symbols.svg │ ├── index.rst │ ├── introduction.rst │ ├── requirements.txt │ └── usage.rst ├── examples ├── digital_wiper.py ├── mcp4231.py └── potentiometer.py ├── pyproject.toml ├── src └── BDPotentiometer │ ├── __gpiozero_helpers.py │ ├── __helpers.py │ ├── __init__.py │ ├── __logger.py │ ├── digital_potentiometer.py │ ├── digital_wiper.py │ ├── mcp4xxx │ ├── __init__.py │ ├── mcp4xx1.py │ ├── mcp4xx2.py │ └── mcp4xxx.py │ └── potentiometer.py ├── tests ├── digital_potentiometer │ └── test_digital_potentiometer.py ├── digital_wiper │ ├── test_digital_wiper_channel_numbering.py │ ├── test_digital_wiper_constructor.py │ ├── test_digital_wiper_constructor_spi.py │ ├── test_digital_wiper_deep_copy.py │ ├── test_digital_wiper_deep_copy_spi.py │ ├── test_digital_wiper_min_max_value.py │ ├── test_digital_wiper_rwa_rwb.py │ ├── test_digital_wiper_value.py │ └── test_digital_wiper_voltage_out.py ├── helpers │ ├── test_helpers.py │ ├── test_helpers_check_integer.py │ └── test_helpers_check_number.py ├── mcp4xxx │ └── test_mcp4xxx.py ├── potentiometer │ ├── test_potentiometer_constructor.py │ ├── test_potentiometer_fixed_resistors.py │ ├── test_potentiometer_r_wa_r_wb.py │ ├── test_potentiometer_voltage_a_b_load.py │ └── test_potentiometer_voltage_out.py └── test_version.py └── tox.ini /.github/workflows/pylint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/.github/workflows/pylint.yml -------------------------------------------------------------------------------- /.github/workflows/python-package.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/.github/workflows/python-package.yml -------------------------------------------------------------------------------- /.github/workflows/python-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/.github/workflows/python-publish.yml -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/README.md -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/images/digital_pot.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/docs/source/images/digital_pot.svg -------------------------------------------------------------------------------- /docs/source/images/pot_symbols.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/docs/source/images/pot_symbols.svg -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /docs/source/introduction.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/docs/source/introduction.rst -------------------------------------------------------------------------------- /docs/source/requirements.txt: -------------------------------------------------------------------------------- 1 | sphinx_rtd_theme -------------------------------------------------------------------------------- /docs/source/usage.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/docs/source/usage.rst -------------------------------------------------------------------------------- /examples/digital_wiper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/examples/digital_wiper.py -------------------------------------------------------------------------------- /examples/mcp4231.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/examples/mcp4231.py -------------------------------------------------------------------------------- /examples/potentiometer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/examples/potentiometer.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/BDPotentiometer/__gpiozero_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/src/BDPotentiometer/__gpiozero_helpers.py -------------------------------------------------------------------------------- /src/BDPotentiometer/__helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/src/BDPotentiometer/__helpers.py -------------------------------------------------------------------------------- /src/BDPotentiometer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/src/BDPotentiometer/__init__.py -------------------------------------------------------------------------------- /src/BDPotentiometer/__logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/src/BDPotentiometer/__logger.py -------------------------------------------------------------------------------- /src/BDPotentiometer/digital_potentiometer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/src/BDPotentiometer/digital_potentiometer.py -------------------------------------------------------------------------------- /src/BDPotentiometer/digital_wiper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/src/BDPotentiometer/digital_wiper.py -------------------------------------------------------------------------------- /src/BDPotentiometer/mcp4xxx/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/src/BDPotentiometer/mcp4xxx/__init__.py -------------------------------------------------------------------------------- /src/BDPotentiometer/mcp4xxx/mcp4xx1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/src/BDPotentiometer/mcp4xxx/mcp4xx1.py -------------------------------------------------------------------------------- /src/BDPotentiometer/mcp4xxx/mcp4xx2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/src/BDPotentiometer/mcp4xxx/mcp4xx2.py -------------------------------------------------------------------------------- /src/BDPotentiometer/mcp4xxx/mcp4xxx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/src/BDPotentiometer/mcp4xxx/mcp4xxx.py -------------------------------------------------------------------------------- /src/BDPotentiometer/potentiometer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/src/BDPotentiometer/potentiometer.py -------------------------------------------------------------------------------- /tests/digital_potentiometer/test_digital_potentiometer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/digital_potentiometer/test_digital_potentiometer.py -------------------------------------------------------------------------------- /tests/digital_wiper/test_digital_wiper_channel_numbering.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/digital_wiper/test_digital_wiper_channel_numbering.py -------------------------------------------------------------------------------- /tests/digital_wiper/test_digital_wiper_constructor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/digital_wiper/test_digital_wiper_constructor.py -------------------------------------------------------------------------------- /tests/digital_wiper/test_digital_wiper_constructor_spi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/digital_wiper/test_digital_wiper_constructor_spi.py -------------------------------------------------------------------------------- /tests/digital_wiper/test_digital_wiper_deep_copy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/digital_wiper/test_digital_wiper_deep_copy.py -------------------------------------------------------------------------------- /tests/digital_wiper/test_digital_wiper_deep_copy_spi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/digital_wiper/test_digital_wiper_deep_copy_spi.py -------------------------------------------------------------------------------- /tests/digital_wiper/test_digital_wiper_min_max_value.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/digital_wiper/test_digital_wiper_min_max_value.py -------------------------------------------------------------------------------- /tests/digital_wiper/test_digital_wiper_rwa_rwb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/digital_wiper/test_digital_wiper_rwa_rwb.py -------------------------------------------------------------------------------- /tests/digital_wiper/test_digital_wiper_value.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/digital_wiper/test_digital_wiper_value.py -------------------------------------------------------------------------------- /tests/digital_wiper/test_digital_wiper_voltage_out.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/digital_wiper/test_digital_wiper_voltage_out.py -------------------------------------------------------------------------------- /tests/helpers/test_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/helpers/test_helpers.py -------------------------------------------------------------------------------- /tests/helpers/test_helpers_check_integer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/helpers/test_helpers_check_integer.py -------------------------------------------------------------------------------- /tests/helpers/test_helpers_check_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/helpers/test_helpers_check_number.py -------------------------------------------------------------------------------- /tests/mcp4xxx/test_mcp4xxx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/mcp4xxx/test_mcp4xxx.py -------------------------------------------------------------------------------- /tests/potentiometer/test_potentiometer_constructor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/potentiometer/test_potentiometer_constructor.py -------------------------------------------------------------------------------- /tests/potentiometer/test_potentiometer_fixed_resistors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/potentiometer/test_potentiometer_fixed_resistors.py -------------------------------------------------------------------------------- /tests/potentiometer/test_potentiometer_r_wa_r_wb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/potentiometer/test_potentiometer_r_wa_r_wb.py -------------------------------------------------------------------------------- /tests/potentiometer/test_potentiometer_voltage_a_b_load.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/potentiometer/test_potentiometer_voltage_a_b_load.py -------------------------------------------------------------------------------- /tests/potentiometer/test_potentiometer_voltage_out.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/potentiometer/test_potentiometer_voltage_out.py -------------------------------------------------------------------------------- /tests/test_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tests/test_version.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bond-anton/BDPotentiometer/HEAD/tox.ini --------------------------------------------------------------------------------