Python 3: NameError: no such item __call__
Opened this issue · 1 comments
ildan95 commented
When I try to init motor:
d = LargeMotor()
it returns error:
NameError: no such item call
liam-b commented
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