I want to control two little motors with the Pololu DRV8835 Dual Motor Driver Kit for Raspberry Pi.
I found a python library on Github.com and I downloaded it, but when I try to run the example program on the Raspberry, there is an error message, which is about the function wiringpi.wiringPiSetupGpio() on the line 14 of the program pololu_drv8835_rpi.py.
I am a begginner with Raspberry Pi, but I made some researches and I think it is because of the different versions of wiringpi. I think that I have to change the line 1 “import wiringpi” to “import wiringpi2 as wiringpi”, but I am not sure at all.
Can you help me please ?
Thank you !