summaryrefslogtreecommitdiff
path: root/tomorrowthegroundGUI/tomorrowthegroundGUI.pde
diff options
context:
space:
mode:
Diffstat (limited to 'tomorrowthegroundGUI/tomorrowthegroundGUI.pde')
-rw-r--r--tomorrowthegroundGUI/tomorrowthegroundGUI.pde9
1 files changed, 6 insertions, 3 deletions
diff --git a/tomorrowthegroundGUI/tomorrowthegroundGUI.pde b/tomorrowthegroundGUI/tomorrowthegroundGUI.pde
index 4bede0b..eb716e8 100644
--- a/tomorrowthegroundGUI/tomorrowthegroundGUI.pde
+++ b/tomorrowthegroundGUI/tomorrowthegroundGUI.pde
@@ -10,8 +10,8 @@ String sendIP;
void setup()
{
- bgmaps=new PImage[2];
- sendIP="127.0.0.1";
+ bgmaps=new PImage[3];
+ sendIP="192.168.15.7";
int map=3;
switch (map) {
case 1:
@@ -33,7 +33,7 @@ void setup()
case 3:
bgmaps[0] = loadImage("domst.png");
bgmaps[1] = loadImage("domst_grad.png");
- bgmaps[1] = loadImage("domst_index.png");
+ bgmaps[2] = loadImage("domst_index.png");
lat1=53.353241;
lng1=-6.268789;
lat2=53.35171;
@@ -79,6 +79,9 @@ void keyPressed() {
case '1':
usemap=1;
break;
+ case '2':
+ usemap=2;
+ break;
}
}