orangepi-xunlong / wiringOP

wiringPi for Orange Pi
GNU Lesser General Public License v3.0
413 stars 192 forks source link

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

Open borex99 opened 9 months ago

borex99 commented 9 months ago

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]

borex99 commented 8 months ago

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