Skip to content

fabrix-app/spool-johnny-five

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spool-johnny-five

Gitter NPM version Build Status Test Coverage Dependency Status Follow @FabrixApp on Twitter

📦 johnny-five Spool

A Spool to make it easy to use Johnny Five with Fabrix

Install

$ npm install --save @fabrix/spool-johnny-five

Configure

// config/main.ts
import { JohnnyFiveSpool } from '@fabrix/spool-johnny-five'
export const main = {
  spools: [
    // ... other spools
    JohnnyFiveSpool
  ]
}

Configuration

// config/johnny-five.ts
export const johnny_five = {

}

For more information about store (type and configuration) please see the johnny-five documentation.

Usage

For the best results, create a Board Class and override the default methods.

  import { Board } from '@fabrix/spool-johnny-five'
  
  export class PinBoard extends Board {

  }