Gpio lib - Raspberry Pi Forums


hi,

tried run https://learn.adafruit.com/adafruit-ras ... r/software control dc motor, error:

error writing to: delayed value: 0
error writing to: frequency value: 500
error writing to: active value: 1
motor.py:12: runtimewarning: channel in use, continuing anyway. use gpio.setwarnings(false) disable warnings.
gpio.setup(self.in1_pin, gpio.out)
motor.py:13: runtimewarning: channel in use, continuing anyway. use gpio.setwarnings(false) disable warnings.
gpio.setup(self.in2_pin, gpio.out)

guessing library problem, because can't change directory to:
/sys/class/rpi-pwm/pwm0/

how can solve ?
using raspberry pi 2 raspberrian.

tnx

i think tutorial works adafruit distribution called occidentalis has modified kernel add pwm support.

occidentalis deprecated, don't use it.

wouldn't use tutorial, find based on raspbian distribution of linux.


raspberrypi



Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support