276970376 / 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:Other


Languages

Language:C++ 98.9%Language:C 1.1%