ev3-js-devices

0.5.22 • Public • Published

devices

NPM version Code style

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

Readme

Keywords

none

Package Sidebar

Install

npm i ev3-js-devices

Weekly Downloads

1

Version

0.5.22

License

MIT

Last publish

Collaborators

  • danleavitt0