Skip to content

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