topikachu/python-ev3

Python 3: NameError: no such item __call__

Opened this issue · 1 comments

When I try to init motor:

d = LargeMotor()

it returns error:

NameError: no such item call

Are you sure you've imported lang-python correctly?
Also this should work:

import ev3dev.ev3 as ev3
myMotor = ev3.LargeMotor('outA') # ports are from 'outA' to 'outD'
# do things with myMotor