Skip to content

Commit

Permalink
updated readme and NPM version
Browse files Browse the repository at this point in the history
  • Loading branch information
the-AjK committed Mar 12, 2015
1 parent eb39ad5 commit ce49576
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ When the button is pressed the LED should turn on, when it's released the LED
should turn off. This can be achieved with the following code:

```js
var Gpio = require('onoff').Gpio,
var Gpio = require('arietta-onoff').Gpio,
led = new Gpio(64, 'out'),
button = new Gpio(81, 'in', 'both');

Expand Down Expand Up @@ -49,7 +49,7 @@ ctrl-c gracefully and bails out on error. The resources used by the led and
button Gpio objects are released by calling their unexport method.

```js
var Gpio = require('onoff').Gpio,
var Gpio = require('arietta-onoff').Gpio,
led = new Gpio(64, 'out'),
button = new Gpio(81, 'in', 'both');

Expand Down Expand Up @@ -180,7 +180,7 @@ Reverse the effect of exporting the GPIO to userspace
Blink the LED on GPIO #64 for 5 seconds:

```js
var Gpio = require('onoff').Gpio, // Constructor function for Gpio objects.
var Gpio = require('arietta-onoff').Gpio, // Constructor function for Gpio objects.
led = new Gpio(64, 'out'), // Export GPIO #64 as an output.
iv;

Expand All @@ -203,7 +203,7 @@ setTimeout(function () {
Blink the LED on GPIO #64 for 5 seconds:

```js
var Gpio = require('onoff').Gpio, // Constructor function for Gpio objects.
var Gpio = require('arietta-onoff').Gpio, // Constructor function for Gpio objects.
led = new Gpio(64, 'out'); // Export GPIO #64 as an output.

// Toggle the state of the LED on GPIO #64 every 200ms 'count' times.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "arietta-onoff",
"version": "0.1.1",
"version": "0.1.2",
"description": "GPIO access and interrupt detection on the ACME Arietta board",
"main": "arietta-onoff.js",
"repository": {
Expand Down

0 comments on commit ce49576

Please sign in to comment.