Skip to content

Commit

Permalink
fix RPi5, and fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Mar 6, 2024
1 parent 2edaea3 commit 95598b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions rpi_hardware_pwm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 95598b5

Please sign in to comment.