Using *pruio_gpio_setValue()* to set a value of zero seems to do the trick, but I'd still be curious to know if there is an "official" way to do this.
Don On Wednesday, March 13, 2019 at 10:39:43 AM UTC-4, Don Pancoe wrote: > > I have been making good progress with learning and using libpruio > <http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/>, but > I've hit a question I've been unable to work out for myself. > > I've successfully started PWM signals using *pruio_pwm_setValue()*, but > I'm having an issue turning those same PWM signals off when I'm done with > them. I've tried using *setValue()* again with zero values for frequency > and/or duty cycle, and my DMM (which can measure such things) is reporting > zero frequency and duty cycle, but it is also measuring a constant 3v3 > output on that header pin. Effectively a 100% duty cycle, which my DMM > would actually report as zero frequency and duty cycle. > > Is there anything I'm missing here, or are there better ways to turn off > the PWM signal in libpruio? > > FYI, I have a Beaglebone Black, Linux 4.14, Debian 6.3, but I've noticed > more libpruio discussion on his board. I can also post any additional > information needed. > > Thanks, > Don > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/b548637c-931d-44cf-ab8b-d21066fbe18a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
