Add some helper scripts

This commit is contained in:
Dana Woodman 2018-08-12 14:19:31 -07:00
parent 8a0243ae7b
commit ee69bc1c2d
2 changed files with 6 additions and 0 deletions

3
scripts/close-door.js Executable file
View File

@ -0,0 +1,3 @@
const { Board } = require('easy-usb-relay')
const board = new Board(2)
board.allOff()

3
scripts/open-door.js Executable file
View File

@ -0,0 +1,3 @@
const { Board } = require('easy-usb-relay')
const board = new Board(2)
board.allOn()