BoneledsSoftware

uEnv.txt
Add to /boot/uEnv.txt

optargs=capemgr.enable_partno=am33xx_pwm,bone_pwm_P9_16,bone_pwm_P9_22,bone_pwm_P9_21,bone_pwm_P8_19,bone_pwm_P8_13,bone_pwm_P9_14
 * 1) cape_enable=capemgr.enable_partno=

This will enable PWM control on leds

Controlling LEDs
List of LED controls P9.14 Red 1 P9.16 Green 1 P9.22 Blue 1 P8.13 Red 2 P9.21 Blue 2 P8.19 Green 2

From shell
500000 is a PWM period Set 50% duty (500000 / 2 = 250000) echo 250000 > /sys/devices/ocp.3/pwm_test_P9_14*/duty

My github for random led control on powerup https://github.com/victor999/boneleds

To go back to the Boneleds, please click here