0.1.13 • Published 9 years ago

ultrasonic-sensor v0.1.13

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

ultrasonic-sensor

NPM version Code style

to interact with the ev3-js ultrasonic sensor

Installation

$ npm install ultrasonic-sensor

Usage

var USSensor = require('ultrasonic-sensor')
USSensor(3).inches // => 5.2

API

ultrasonicSensor(port)

  • port - number of the port that the color sensor is plugged in to.

Returns: instance of USSensor

.inches

Read the number of inches from the ultra-sonic sensor.

.cm

Read the number of cm from the ultra-sonic sensor.

License

MIT

0.1.13

9 years ago

0.1.12

9 years ago

0.1.11

10 years ago

0.1.10

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago