Open TheSkangel opened 1 week ago
dart_periphery comes will all needed libs on board. // setCustomLibrary("/usr/local/lib/libperiphery_arm64.so"); What happens when you comment out this line?
I'm still getting the same error whether I set a custom library or use the libperiphery.so which is shared.
Thanks for the hijacked PWM website - I wiil replace the URL.
I added your dtoverlay=pwm,pin=18,func=2 defintion to my RPI.
But on my RPI3 (32bit) this definition creates a /sys/class/pwm/pwmchip0/pwm0 device tree
and the demo works: https://github.com/pezi/dart_periphery/blob/main/example/pwm_example.dart dart pwm_example.dart
PWM 0, chip 0 (period=0.000000 sec, duty_cycle=nan%, polarity=normal, enabled=false)
10000000
Wait 20 seconds
Hello, I'm currently trying to run the PWM example on my pi5 but I keep getting the following error:
I'm using the GPIO18 and the following code:
I tried accessing the provided documentation for pwm in the example but it seems like the provided url was hacked and now points to another website... Linux kernel
Linux 6.6.31+rpt-rpi-2712 aarch64
configurations aredtoverlay=pwm,pin=18,func=2
.I also tried using pwm directly with a bash file and there it works just fine:
Does anybody had this issue before or does know how to fix it?