HeatIndex

derp
This commit is contained in:
Groamer
2014-10-17 11:31:57 +02:00
parent 6eab5dfa9c
commit 2c1c124930
3 changed files with 120 additions and 61 deletions
+4 -5
View File
@@ -49,6 +49,7 @@ public class Weerstation {
final List<Grootheid> lstScreens = new ArrayList<Grootheid>();
lstScreens.add(new OutsideTemp(meting1, meting2));
lstScreens.add(new WindChill(meting1, meting2));
lstScreens.add(new HeatIndex(meting1, meting2));
lstScreens.add(new OutsideHum(meting1, meting2));
lstScreens.add(new Barometer(meting1, meting2));
lstScreens.add(new AvgWindSpeed(meting1, meting2));
@@ -59,7 +60,6 @@ public class Weerstation {
lstScreens.add(new UVLevel(meting1, meting2));
lstScreens.add(new Zonsterkte(meting1, meting2));
lstScreens.add(new DewPoint(meting1, meting2));
lstScreens.add(new Sun(meting1));
@@ -91,7 +91,7 @@ public class Weerstation {
meting1 = weerstation1.getMostRecentMeasurement();
for(Grootheid obj : lstScreens){
obj.updateRecent(meting1);
obj.updateRecent(meting1);
}
}
}, 60*1000, 60*1000);
@@ -160,11 +160,10 @@ public class Weerstation {
GUIboard.clearBottom();
for(int i=1; i<128;i+=2)
for(int i=0; i<128;i++)
{
for(int n=0; n<32;n++)
{
IO.writeShort(0x42, 1 << 12 | i-1 << 5 | n);
IO.writeShort(0x42, 1 << 12 | i << 5 | n);
IO.delay(1);
}
@@ -172,7 +171,7 @@ public class Weerstation {
startup = false;
}
}, 0, 128*32);
}, 0, 64*2);
}
public void stopAnimatie()