0.2.3 • Published 9 years ago

organiq-tessel v0.2.3

Weekly downloads
27
License
-
Repository
github
Last release
9 years ago

Organiq Software Development Kit for JavaScript

Build Status

Organiq is a platform for developing applications that interact with the real world.

The Organiq Software Development Kit (SDK) for JavaScript contains library code, utilities, and examples designed to enable developers to build applications using Organiq and JavaScript. This SDK supports both server- and client-side JavaScript.

npm install --save organiq          # install into your project
npm install --global organiq-cli    # install the command line interface
organiq register                    # register an Organiq account
organiq generate-api-key --global   # get an API key 

Quick Peek

Here's a (complete) program for Tessel that uses the Organiq SDK to expose the ability to turn on and off the device LED from the web:

var tessel = require('tessel');
var organiq = require('organiq-tessel');
organiq.registerDevice('Blinker', {
    toggleLed: function() { tessel.led[0].toggle(); }
    });

Here's a Node.js application that starts the Tessel's LED blinking from anywhere on the web:

var organiq = require('organiq');
function startBlinking(device) {
    setInterval(function() { device.toggleLed(); }, 500);
}
organiq.getDevice('Blinker').then(startBlinking);

Documentation

See http://organiq-tessel.readthedocs.org/en/latest/ for documentation on using Organiq with Tessel.

Copyright (c) 2015 Organiq, Inc. All Rights Reserved.

0.2.3

9 years ago

0.2.2

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.0

10 years ago

0.0.1

10 years ago