Skip to content

Commit

Permalink
Motion: nit-picking to descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed May 13, 2015
1 parent ed3dd74 commit 73b1d6e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
11 changes: 6 additions & 5 deletions docs/motion-gp2y0d805z0f.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Motion - GP2Y0D805Z0F


Basic GP2Y0D805Z0F example
Basic GP2Y0D805Z0F detection.


Run with:
Expand Down Expand Up @@ -42,10 +42,11 @@ board.on("ready", function() {
});

// "data" events are fired at the interval set in opts.freq
// or every 25ms
motion.on("data", function(data) {
console.log(data);
});
// or every 25ms. Uncomment the following to see all
// motion detection readings.
// motion.on("data", function(data) {
// console.log(data);
// });
});

```
Expand Down
11 changes: 6 additions & 5 deletions docs/motion.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Motion


Basic infrared Motion example
Basic Passive Infrared Motion detection.


Run with:
Expand Down Expand Up @@ -40,10 +40,11 @@ board.on("ready", function() {
});

// "data" events are fired at the interval set in opts.freq
// or every 25ms
motion.on("data", function(data) {
console.log(data);
});
// or every 25ms. Uncomment the following to see all
// motion detection readings.
// motion.on("data", function(data) {
// console.log(data);
// });
});

```
Expand Down
4 changes: 2 additions & 2 deletions tpl/programs.json
Original file line number Diff line number Diff line change
Expand Up @@ -501,12 +501,12 @@
{
"file": "motion.js",
"title": "Motion",
"description": "Basic infrared Motion example"
"description": "Basic Passive Infrared Motion detection."
},
{
"file": "motion-gp2y0d805z0f.js",
"title": "Motion - GP2Y0D805Z0F",
"description": "Basic GP2Y0D805Z0F example"
"description": "Basic GP2Y0D805Z0F detection."
}
]
},
Expand Down

0 comments on commit 73b1d6e

Please sign in to comment.