0.1.3 • Published 9 years ago

genisys v0.1.3

Weekly downloads
6
License
ISC
Repository
github
Last release
9 years ago

Genisys

A quick way to get started using mqtt and johnny-five.

Installation

npm install genisys

Blink an Led

The "Hello World" of microcontroller programming:

var genisys = require("genisys");
var five = require("johnny-five");

var board = new five.Board({
  io: new genisys.Board({
    url: 'mqtt://127.0.0.1:1883',
    transmitTopic: 'physicalDevice',
    receiveTopic: 'serialClient'
  })
});

board.on("ready", function() {
  var led = new five.Led({pin: 13});
  led.blink();
});
0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago