Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Jun 12, 2020
1 parent deea77d commit 725784f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ Johnny-Five does not attempt to provide "all the things", but instead focuses on
The ubiquitous "Hello World" program of the microcontroller and SoC world is "blink an LED". The following code demonstrates how this is done using the Johnny-Five framework.

```javascript
var five = require("johnny-five");
var board = new five.Board();
const { Board, Led } = require("johnny-five");
const board = new Board();

board.on("ready", function() {
board.on("ready", () => {
// Create an Led on pin 13
var led = new five.Led(13);
const led = new Led(13);
// Blink every half second
led.blink(500);
});
Expand Down
8 changes: 4 additions & 4 deletions tpl/.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ Johnny-Five does not attempt to provide "all the things", but instead focuses on
The ubiquitous "Hello World" program of the microcontroller and SoC world is "blink an LED". The following code demonstrates how this is done using the Johnny-Five framework.

```javascript
var five = require("johnny-five");
var board = new five.Board();
const { Board, Led } = require("johnny-five");
const board = new Board();

board.on("ready", function() {
board.on("ready", () => {
// Create an Led on pin 13
var led = new five.Led(13);
const led = new Led(13);
// Blink every half second
led.blink(500);
});
Expand Down

0 comments on commit 725784f

Please sign in to comment.