Attribute error: 'Adafruit_I2C' object has no attribute 'writeList'

Hi there,

I am using the motor bridge cape using BBB to run stepper motor. When I execute the test file, steppermotortest.py, I end up in the error “Attribute error: ‘Adafruit_I2C’ object has no attribute ‘writeList’”. Kindly help me in this issue.

Problem fixed. Thanks

1. install the adafruit_gpio

sudo apt-get update

sudo apt-get install build-essential python-pip python-dev python-smbus git

sudo pip install Adafruit-GPIO



2. install adafruit_bbio

sudo apt-get install build-essential python-dev python-pip -y

sudo pip install Adafruit_BBIO



3. change the MotorBridge.py as below



import Adafruit_GPIO.I2C as I2C

import Adafruit_BBIO.GPIO as GPIO

import time

Reset = “P9_23”

MotorBridge = I2C.Device(0x4b, 2)

GPIO.setup(Reset, GPIO.OUT)



4. Here is the output. I will update wiki soon.



debian@beaglebone:~/MotorBridgeCapeforBBG_BBB/tests$ python StepperMotortest.py

Hello From MotorBridge

Hello From MotorBridge

Hello From MotorBridge





thanks

Seeed techsupport team

Bill

Hello Fellows and Ladies,



Is the new software, which is found on GitHub.com, for the Motor Bridge Cape (MotorBridge.py) used w/ only Python3 now?



Seth