Skip to content

Commit

Permalink
zero
Browse files Browse the repository at this point in the history
  • Loading branch information
tainfante committed Jan 22, 2018
1 parent 75a4722 commit 84f4637
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 23 deletions.
43 changes: 20 additions & 23 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified out/production/KCC_App/sample/Controller.class
Binary file not shown.
Binary file modified out/production/KCC_App/sample/Port.class
Binary file not shown.
3 changes: 3 additions & 0 deletions src/sample/Controller.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ public void onStartAction(ActionEvent actionEvent) {
log("Estimated time is 0 s\n");

}
Port.getInstance().SendStop();

}

private float calculateTime(long impulses) {
Expand Down Expand Up @@ -163,5 +165,6 @@ public void onChooseMode(ActionEvent actionEvent) {
Port.getInstance().SendComment(new Commend((byte)96,(byte)1));

}
Port.getInstance().SendStop();
}
}
1 change: 1 addition & 0 deletions src/sample/Port.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ private byte readOneByte(){
return oneByte;
}
public long readTime() {
Stop=false;
long time=0;
long unsignedData=0;
int numberOfBytes=0;
Expand Down

0 comments on commit 84f4637

Please sign in to comment.