-
Notifications
You must be signed in to change notification settings - Fork 7
Install
First, you must install Bitlash onto your Arduino; then you must install Bitlash Commander, which has some pre-requisites.
Install the Bitlash library from GitHub into your Arduino library folder (see https://github.com/billroy/bitlash/wiki/install).
Next, (after restarting the Arduino IDE), connect your arduino and perform these commands in the Arduino IDE to upload the bitlashdemo sketch, which speaks basic Bitlash:
File -> Examples -> bitlash -> bitlashdemo
File -> Upload
This wouldn't be a bad time to connect to Bitlash on the arduino using the Serial Monitor (at 57600 baud) and familiarize yourself with Bitlash a bit. When you're done, close the Serial Monitor and continue here.
You need node.js (http://nodejs.org) and git (http://git-scm.com). Do those installs, and return here.
You also need a compiler and build environment for your platform so that the serial port driver will build successfully. Follow the guidance for your platform here in the section titled "To Install" before proceeding: https://github.com/voodootikigod/node-serialport
In a new terminal window, incant:
$ git clone http://github.com/billroy/bitlash-commander
$ cd bitlash-commander
$ npm install
$ node index.js
Open a web browser on localhost:3000 to see the default control panel.
See Server Options for details on other options starting the server.