diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-08-17 12:06:21 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-08-17 12:06:21 +0100 |
| commit | 0906cafb49bfa38c85b8b6d5e67e663268042630 (patch) | |
| tree | ee74065c7a3e3b86d716cc3efd765438fd602339 /tomorrowthegroundGUI | |
| parent | 6d6d630c925e65a0c28e9aff6a680a89edbd86b8 (diff) | |
testing setup
Diffstat (limited to 'tomorrowthegroundGUI')
| -rw-r--r-- | tomorrowthegroundGUI/tomorrowthegroundGUI.pde | 9 |
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; } } |
