Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make working "gpio pwm" command and wiringPiISR() function #101

Open
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

borex99
Copy link

@borex99 borex99 commented Feb 16, 2024

Removed the sunxi_pwm_set_mode call from pwmWrite, because it kills the network adapter (on Zero 2W), writing to the wrong register:
SUNXI_PWM_CTRL_REG: [22222122]
SUNXI_PWM_PERIOD: [22222122]

Removed the sunxi_pwm_set_mode call from pwmWrite, because it kills the network adapter (at Zero 2W), writing to the wrong register:
SUNXI_PWM_CTRL_REG: [22222122]
SUNXI_PWM_PERIOD: [22222122]
Fixed an error exporting the WiringPi pin number instead of the GPIO pin number.
@borex99 borex99 changed the title Calling "gpio pwm" does not kill the ethernet adapter Make working "gpio pwm" command and wiringPiISR() function Mar 6, 2024
@borex99
Copy link
Author

borex99 commented Mar 6, 2024

Removing fix #20 because /sys/class/gpio works with GPIO pins, not a wiringPi pins.
Issue #9 is being fixed by #43.

Solves issues #65, #70, #93, #98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant