UNPKG

nino-io

Version:

Linino One and Arduino Yun IO Plugin for Johnny-Five. Firmata & YunBridge are NOT required.

46 lines (24 loc) 1.48 kB
# Nino-IO [![Build Status](https://travis-ci.org/rwaldron/nino-io.png?branch=master)](https://travis-ci.org/rwaldron/nino-io) ## Nino-IO is compatible with Linino One and Arduino Yun. Nino-IO is a Firmata.js-compatibility class for writing Node.js programs that run on the [Linino One](http://www.linino.org/modules/linino-one/) or [Arduino Yun](http://www.linino.org/modules/yun/). This project was built at [Bocoup](http://bocoup.com) ### Getting Started Nino-IO scripts are run directly from the Linino One or Arduino Yun board. To get started, [install Node.js on the board](http://wiki.linino.org/doku.php?id=wiki:nodejscript). ### LininoOS For Nino-IO to operate correctly, the Arduino Yun or Linino One must be running LininoOS. Assuming you've already completed the [Yun Disk Expansion](http://arduino.cc/en/Tutorial/ExpandingYunDiskSpace), complete the following commands: - Upgrade the firmware on the MCU: ```sh cd /tmp wget http://download.linino.org/pkg-bin/serialTerminal.hex run-avrdude /tmp/serialTerminal.hex ``` **IMPORTANT:** The Linino expects all user code to exist in `/opt`! When connecting to the board, remember to: `cd /opt`. This is how the `nodeyun_inst_latest.sh` installer program sets up the filesystem on the Linino's SD Card. ### Installation ``` npm install johnny-five npm install nino-io --unsafe-perm ``` [See Johnny-Five's examples for usage.](https://github.com/rwaldron/johnny-five) ## License See LICENSE file.