ev3-js-devices
v0.5.22
Published
Collection EV3 devices.
Downloads
57
Readme
devices
Collection of EV3 devices.
Installation
$ npm install ev3-js-devices
Usage
var devices = require('ev3-js-devices')
var motorA = devices('a')
motorA.runForever()
setTimeout(function () {
motorA.stop()
}, 10000)
API
devices(port)
port
- port to get device for
Returns: The device at the given port. The device could be a motor or a sensor.
License
MIT