📦 johnny-five Spool
A Spool to make it easy to use Johnny Five with Fabrix
$ npm install --save @fabrix/spool-johnny-five
// config/main.ts
import { JohnnyFiveSpool } from '@fabrix/spool-johnny-five'
export const main = {
spools: [
// ... other spools
JohnnyFiveSpool
]
}
// config/johnny-five.ts
export const johnny_five = {
}
For more information about store (type and configuration) please see the johnny-five documentation.
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 {
}