Miss any of our Open RFC calls?Watch the recordings here! »

cylon-beaglebone-stub

0.1.4 • Public • Published

Cylon.js Beaglebone stub for testing

NPM   Build Status   release notes

This repository conains what looks like a real beaglebone, but is stubbed out so robots can be built and tested without being connected to a beaglebone.

For more information about Cylon, check out the repo at https://github.com/hybridgroup/cylon

Getting Started

Install the module with: npm install cylon-beaglebone-stub

Examples

See https://github.com/hybridgroup/cylon-beaglebone for the real beaglebone connector.

Connecting

var Cylon = require('cylon');
 
Cylon.robot({
  connections: {
    beaglebone: {adaptor: 'beaglebone-stub' }
  },
  devices: {
    pump_motor_on: {
      driver: 'direct-pin',
      pin: 'P9_11',
      connection: 'beaglebone'
    }
  }
 
  work: function(my) {
    my.pump_motor_on.digitalWrite(1);
  }
}).start();

License

Copyright (c) 2014-2015 Loren West and other contributors. See LICENSE for more details

Install

npm i cylon-beaglebone-stub

DownloadsWeekly Downloads

0

Version

0.1.4

License

none

Last publish

Collaborators

  • avatar