To launch the Python Console type:
# python Python 2.7.3 (default, Apr 3 2013, 21:37:23) [GCC 4.7.3 20130205 (prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>
>>> import Adafruit_BBIO.PWM as PWM
>>> PWM.start("P8_13", 0)
>>> PWM.start("P8_19", 0)
Finally lets turn on the blue channel using:
>>> PWM.start("P9_14", 0)
Lets now turn all the LEDs off again by sending the following commands:
>>> PWM.stop("P8_13") >>> PWM.stop("P8_19") >>> PWM.stop("P9_14")