Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Commit

Permalink
tune the pressing of the button
Browse files Browse the repository at this point in the history
  • Loading branch information
reconbot committed Feb 17, 2013
1 parent c8e0bf5 commit e129953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arduino.js
Expand Up @@ -7,13 +7,13 @@ var openDoor, buildStatus;
var goDoor = function () {
var servo = new five.Servo({
pin: 10,
range: [120, 180],
range: [145, 180],
startAt: 180
});

openDoor = function () {
servo.min();
setTimeout(servo.max.bind(servo), 700);
setTimeout(servo.max.bind(servo), 500);
};

board.repl.inject({
Expand Down

0 comments on commit e129953

Please sign in to comment.