Instantly share code, notes, and snippets.

Embed
What would you like to do?
/*
* `direction` może przyjąc jeden z poniższych wartości:
* l = (left)
* r = (right)
* f = (forward)
* b = (back)
* bl = (back/left) rb = (back/right)
* fl = (front/left) fr = (front/right)
*/
this.flip = function(direction) {
this.send('flip ' + direction);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment