Skip to content

Commit 94eb284

Browse files
author
Alan Shaw
committed
Update dependencies, fix piezo solution. Fixes #9
1 parent cb32a68 commit 94eb284

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

exercises/ping_bell/solution/solution.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ board.on('ready', function () {
77
var server = dgram.createSocket('udp4')
88

99
server.on('message', function () {
10-
piezo.song('cdfda ag cdfdg gf ', '111111442111111442')
10+
piezo.tone(five.Piezo.Notes.c4, 1000)
1111
})
1212

1313
server.bind(1337)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"chai": "^1.9",
3838
"dnode": "^1.2.0",
3939
"ioboard": "^3.0",
40-
"johnny-five": "^0.7.39",
40+
"johnny-five": "^0.8.1",
4141
"proxyquire": "^1.0.0",
4242
"sinon": "^1.9",
4343
"workshopper": "^1.2.2",
@@ -50,7 +50,7 @@
5050
"devDependencies": {
5151
"gulp-jshint": "^1.6.1",
5252
"gulp": "^3.6.2",
53-
"jshint-stylish": "^0.2.0",
53+
"jshint-stylish": "^0.4.0",
5454
"gulp-shell": "^0.2.5"
5555
}
5656
}

0 commit comments

Comments
 (0)