Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create minimalhand.py #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KillerstinckBR
Copy link

with this code, servo does not work correctly, failing, example> opening finger pointing and closing as soon as it closes the next fingers

with this code, servo does not work correctly, failing, example> opening finger pointing and closing as soon as it closes the next fingers


def handopen():
i01.moveHand("right",0,0,0,0,0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an indentation error here. IT doesn't look like it. but it seems like you have a space followed by a tab. This is probably causing a compilation error in python. white space is very very important. a tab is not the same as a space.
I would recommend always using 2 spaces. and never using tabs in a python script.

as soon as you start mixing spaces and tabs python will not be happy and it will be very difficult to see why it's busted ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants