- Notifications
You must be signed in to change notification settings - Fork 219
Closed
Labels
Description
New clean install using official stretch 2017-10-10 IoT image which includes Python 3.53. Calling set_duty_cycle throws Segment fault if run using Python3.60 or 3.63 venvs but no error using included Python3 or python 3.53 venv
I have narrowed it down to the following simple code. Any ideas?
Bill
Code file pwmtest.py
`import Adafruit_BBIO.PWM as PWM
pin = 'P8_13'
PWM.start(pin, 50, 2000, 1)
PWM.set_duty_cycle(pin, 30)`
results for venv's
venvs/py360/bin/python /tmp/pwmtest.py - Segment fault
venvs/py363/bin/python /tmp/pwmtest.py - Segment fault
venvs/py353/bin/python /tmp/pwmtest.py - No error