Update code.py

SOmehow between edits, some bits were flipped. Compared and edited.
This commit is contained in:
Mike Barela 2018-05-24 20:36:02 -04:00 committed by GitHub
parent 78e4f14394
commit b7e10b75a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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