# Ping

```javascript
var five = require("../lib/johnny-five.js"),
    board, ping;

board = new five.Board({
  debug: true
});

board.on("ready", function() {

  // Create a new `ping` hardware instance.
  ping = new five.Ping({
    pin: 7
  });

  // Inject the `ping` hardware into
  // the Repl instance's context;
  // allows direct command line access
  board.repl.inject({
    ping: ping
  });

  // ping Event API

  // "read" get the current reading from the ping
  ping.on("read", function( err, timestamp ) {
    console.log( "read", timestamp );
  });
});

```

## Breadboard




## Documentation

_(Nothing yet)_









## Contributing
All contributions must adhere to the the [Idiomatic.js Style Guide](https://github.com/rwldrn/idiomatic.js),
by maintaining the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [grunt](https://github.com/cowboy/grunt).

## Release History
_(Nothing yet)_

## License
Copyright (c) 2012 Rick Waldron <waldron.rick@gmail.com>
Licensed under the MIT license.
