Hello Again,

Maybe some extra input would help. I get RuntimeError: Problem with the 
Cape Manager, when I run:

*import Adafruit_BBIO.PWM as PWM*
*import time*

*red = "P8_13"*
*green = "P8_19"*
*blue = "P9_14"*

*PWM.start(red, 0)*
*PWM.start(blue, 0)*
*PWM.start(green, 0)*

*def fade(colorA, colorB, ignore_color):*
*    PWM.set_duty_cycle(ignore_color, 100)*
*    for i in range(0, 100):*
*    PWM.set_duty_cycle(colorA, i)*
*    PWM.set_duty_cycle(colorB, 100-i)*
*    time.sleep(0.05)*
*while True:*
*    fade(red, green, blue)*
*    fade(green, blue, red)*
*    fade(blue, red, green)*

I have set *cape_enable=bone_capemgr.enable_partno= *to enable.

Seth

P.S. If you know of what mistake I am making in my setup of the BBB with 
regards to the Cape Manager, please try to explain or I will keep trying 
(as usual). Cool!


On Friday, April 21, 2017 at 11:28:41 PM UTC-5, Mala Dies wrote:
>
> Hello,
>
> How would I set "uenvcmd" to have full control?
>
> Seth
>
> P.S. I am asking because I set up a PWM script from an Adafruit software 
> thing to run a Python program to fade a Diffused LED. I am getting some 
> errors. The command line returns a RuntimeError. When I enable all comments 
> in the /boot/uEnv.txt file, I get a system that is unresponsive when I 
> reboot or shutdown and then boot. 
>

-- 
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/bb9f34ad-2b53-4d13-ac39-06b1ec1e6bcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to