On Fri, Aug 5, 2022 at 1:17 PM Robert Baumgartner <rbaumgar@xxxxxxxxxx> wrote: > > Hi team, > > I try to migrate some python scripts for my Raspberry from RPi.GPIO to > libgpiod, This is great and everyone should be encouraged to follow your example! > but I miss PWM features. > Do I miss something? Or is it not available? No, you haven't missed anything except Unix ideology. That ideology is telling us that one tool for one thing, and in very featurable mode. That said, lingpiod is exclusively for GPIO ABI between kernel and user space. For PWM you need to access the PWM ABI in a way how it's represented by the Linux kernel. I believe there are plenty of libraries more or less okayish for that purpose, but I never heard about any official library and/or Python bindings for it. Thierry, any suggestion here? > Some details: https://www.electronicwings.com/raspberry-pi/raspberry-pi-pwm-generation-using-python-and-c > > Any help would be appreciated. -- With Best Regards, Andy Shevchenko