0.1.13 • Published 8 years ago

ultrasonic-sensor v0.1.13

Weekly downloads
2
License
MIT
Repository
github
Last release
8 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

8 years ago

0.1.12

8 years ago

0.1.11

8 years ago

0.1.10

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago