Closed idalmasso closed 8 months ago
Hi @idalmasso , thanks for finding and report this issue. I will have a look in the next few days.
Hi @idalmasso , the PWM usage has changed a bit since 2.3.0. Until 2.2.0 the pi-blaster was used by default. Now the internal PWMs are used by default and the usage of pi-blaster must be forced by "adaptors.WithPWMUsePiBlaster()". I missed to add this to the migration guide, but it is described in the README.
If it will not work , please can you provide your program or at least the part for creating the raspi-adaptor and the lines which creates the error output.
Thanks Thomas
Hello @gen2thomas , thanks for your answer. Yes, I just retried with the WithPWMUsePiBlaster and it seems to be working fine, sorry I had to improve my RTFM capabilities, sorry to have made you lose time!
You are welcome, good to hear that it's working now.
Trying to write pwm to a LedDriver with a raspberry pi 4 (fresh install of raspbian) fives the error export() failed for id 26 "with open gpiochip0" (trying to use the pin "37" that is actually GPIO 26). This error is actually new in v2.3.0 of gobot (I just reverted to 2.2 and everything works fine).