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

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