Update code.py
SOmehow between edits, some bits were flipped. Compared and edited.
This commit is contained in:
parent
78e4f14394
commit
b7e10b75a2
1 changed files with 2 additions and 2 deletions
|
|
@ -12,8 +12,8 @@ import gc
|
||||||
|
|
||||||
# Commands, each 8 bit command is preceded by the 5 bit Init sequence
|
# Commands, each 8 bit command is preceded by the 5 bit Init sequence
|
||||||
Init = [0, 0, 0, 1, 0] # This must precede any command
|
Init = [0, 0, 0, 1, 0] # This must precede any command
|
||||||
Up = [1, 0, 1, 0, 1, 0, 1, 1] # Move arms/body down
|
Up = [1, 0, 1, 1, 1, 0, 1, 1] # Move arms/body down
|
||||||
Down = [1, 0, 1, 1, 1, 0, 1, 1] # Move arms/body up
|
Down = [1, 1, 1, 1, 1, 0, 1, 1] # Move arms/body up
|
||||||
Left = [1, 0, 1, 1, 1, 0, 1, 0] # Twist body left
|
Left = [1, 0, 1, 1, 1, 0, 1, 0] # Twist body left
|
||||||
Right = [1, 1, 1, 0, 1, 0, 1, 0] # Twist body right
|
Right = [1, 1, 1, 0, 1, 0, 1, 0] # Twist body right
|
||||||
Close = [1, 0, 1, 1, 1, 1, 1, 0] # Close arms
|
Close = [1, 0, 1, 1, 1, 1, 1, 0] # Close arms
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue