Permalink
Browse files

tune the pressing of the button

  • Loading branch information...
1 parent c8e0bf5 commit e129953e525c2e03be76271231e5f08d05ccf55f @reconbot committed Feb 17, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 arduino.js
View
@@ -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({

0 comments on commit e129953

Please sign in to comment.