Skip to content

Commit

Permalink
Adjust ATM servos' movement threshold values.
Browse files Browse the repository at this point in the history
  • Loading branch information
RomekRJM committed Jan 6, 2020
1 parent cded56e commit 5aa2015
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Madkomat/lejos/ATM.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void perform() {
private final MotorMovement loadBanknote =
new MotorMovement(300, 300, false, Motor.C, StopBehaviour.FLOAT);
private final MotorMovement giveBanknote =
new MotorMovement(360, 1200, false, Motor.C, StopBehaviour.FLOAT);
new MotorMovement(420, 1500, false, Motor.C, StopBehaviour.FLOAT);

public void loadBanknotes() {
loadBanknote.perform();
Expand All @@ -69,7 +69,7 @@ public void loadBanknotes() {
public void serve() {
openHatch.perform();
giveBanknote.perform();
sleepCalmly(2500);
sleepCalmly(5000);
closeHatch.perform();
}

Expand Down

0 comments on commit 5aa2015

Please sign in to comment.