Commit 6904f096 authored by aw613's avatar aw613

added offset correction

parent 7d08a53f
......@@ -35,8 +35,8 @@ public class TempReadingThread implements Runnable {
line = reader.readLine();
this.temperature = Integer.parseInt(line.substring(line.length()-5, line.length()));
System.out.println(temperature);
this.temperature /= 1000;
this.temperature -= 6; //offset correction
reader.close();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment