On Thu, Apr 27, 2017 at 5:06 PM, Robert Nelson <[email protected]>
wrote:

> It's a little more then that, the first 0 comes from parent:
>
> /sys/class/pwm/pwmchip0/pwm-0:0
>
> /sys/class/pwm/pwmchipA/pwm-A:B
>
>
Right, with my implementation as it sits. pwm(x, y) where pwmchipx, ->
pwmy. x being the pwmchip numerical number, y being the actual pwm channel(
0 or 1 ) in relation to that pwmchip. So if I passed in something like
pwm(0, 0), I could use the first zero as the pwmchipx number, and then use
both numbers to build the channel y number . . .javascript makes this
really easy, almost too easy.

It's pretty awesome this will be fixed though. So when all said and done,
this could be fixed by installing a new kernel, without contaminating the
rest of the system. right ? I'm kind of cringing at the idea of a kernel
change right now, I have everything exactly how I want it :/

-- 
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/CALHSORpe_Ja41buk4FBkz4Pq995XbYJqwxa8ziND8mzViD8dCA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to