diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ba7e274..489c0d9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: fail-fast: true matrix: os: ["ubuntu-latest"] - python-version: ["3.7", "3.8", "3.9"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - name: Checkout source diff --git a/rpi_hardware_pwm/__init__.py b/rpi_hardware_pwm/__init__.py index bc9d8be..495376c 100644 --- a/rpi_hardware_pwm/__init__.py +++ b/rpi_hardware_pwm/__init__.py @@ -36,6 +36,7 @@ class HardwarePWM: _duty_cycle: float _hz: float + chippath: str = "/sys/class/pwm/pwmchip0" # mostly here for testing def __init__(self, pwm_channel: int, hz: float, chip: int = 0) -> None: diff --git a/setup.py b/setup.py index 58b80a9..e944655 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setup( name="rpi_hardware_pwm", packages=find_packages('.'), - version='0.2.1', + version='0.2.2', license='OSI Approved :: GNU General Public License v3 (GPLv3)', description='Control Hardware PWM on the Raspberry Pi', long_description = long_description,