alx / mirobot-arduino

The Arduino code for running Mirobot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mirobot

This is an Arduino library that allows you to control Mirobot (http://mirobot.io).

It can be used in one of two ways;

  • Controlling Mirobot directly from Arduino code (e.g. mirobot.forward(100)). The logic for how it moves is in the Arduino sketch. See the "basic_example" in the examples directory.
  • Receiving commands remotely. The logic for how it moves is somewhere else, most probably in the browser. See the "socket_example" in the examples directory.

When receiving commands remotely the socket can either be used raw or as a websocket from a browser.

It uses the SHA1 and Base64 libraries from https://github.com/ejeklint/ArduinoWebsocketServer in order to provide the Websocket functionality.

About

The Arduino code for running Mirobot

License:GNU General Public License v2.0


Languages

Language:C++ 80.6%Language:C 16.0%Language:Arduino 3.3%