From 370c2207a45deb983f8a7a9df94694bf2e96b51e Mon Sep 17 00:00:00 2001 From: Kenneth van Ewijk Date: Tue, 21 Oct 2014 17:26:21 +0200 Subject: [PATCH] Fixed graph displaying nav buttons --- WindDirection.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/WindDirection.java b/WindDirection.java index 1e819f5..3edce7e 100644 --- a/WindDirection.java +++ b/WindDirection.java @@ -1,4 +1,4 @@ -package weerstation; + import java.util.ArrayList; public class WindDirection extends Grootheid{ @@ -30,7 +30,14 @@ public class WindDirection extends Grootheid{ public void displayGraph() { - GUIboard.writePageToMatrix("", "West East", ""); + GUIboard.clearBottom(); + char[] charray = " West East".toCharArray(); + + IO.writeShort(0x40, '\n'); + for(char ch : charray) + { + IO.writeShort(0x40, ch); + } int x,y; int radius = 15;