From 0906cafb49bfa38c85b8b6d5e67e663268042630 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Fri, 17 Aug 2012 12:06:21 +0100 Subject: testing setup --- tomorrowthegroundGUI/tomorrowthegroundGUI.pde | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tomorrowthegroundGUI') 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; } } -- cgit v1.2.3