Skip to content
This repository was archived by the owner on Nov 23, 2019. It is now read-only.
This repository was archived by the owner on Nov 23, 2019. It is now read-only.

motor is not working  #72

Open
Open

Description

@golangpython

d= MediumMotor()
Traceback (most recent call last):
File "", line 1, in
File "build/bdist.linux-armv5tejl/egg/ev3/lego.py", line 217, in init
File "build/bdist.linux-armv5tejl/egg/ev3/ev3dev.py", line 330, in init
TypeError: 'NoneType' object has no attribute 'getitem'

why ?

Activity

  1. liam-b commented on Sep 2, 2016

    @liam-b

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

    import ev3dev.ev3 as ev3
    myMotor = ev3.LargeMotor(port)
    # do things with myMotor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions