On Thu, Feb 18, 2016 at 4:14 PM,  <[email protected]> wrote:
> Relatively new to BBB and Linux in general, loaded up the Debian 8.3 Image
> from the beagleboard page, and cannot for the life of me get PWM to work:
>>>> import Adafruit_BBIO.PWM as PWM
>>>> PWM.start("P8_13", 95.0, 60)
>>>> PWM.set_duty_cycle("P8_13", 97.0)
> IOError: [Errno 2] No such file or directory: '/slots'

The Adafruit BBIO Python library still requires the Linux 3.8 kernel
so it is best to use the Debian 7.9 "Wheezy" image for now:
http://beagleboard.org/latest-images

Download this image:
Debian 7.9 (BeagleBone, BeagleBone Black, Seeed BeagleBone Green - 4GB
SD) 2015-11-12
https://debian.beagleboard.org/images/bone-debian-7.9-lxde-4gb-armhf-2015-11-12-4gb.img.xz

Reference:
https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/installation-on-ubuntu
"The most important part here is that you are using a Linux
distribution with the 3.8 kernel. This kernel version made some fairly
significant changes with how GPIO, PWM and ADC are accessed."

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to