summaryrefslogtreecommitdiff
path: root/tomorrowthegroundGUI
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-05-02 16:43:12 +0100
committerTim Redfern <tim@eclectronics.org>2012-05-02 16:43:12 +0100
commit3209f698306ab0cf22ef0fe31a722bad22214691 (patch)
treef81c7a0d1e2825bcfb6997554fa2ccc3aeef4cee /tomorrowthegroundGUI
parentbe1dd58124b3b4e1ad7a9eeabfb421d246b6ad1b (diff)
building xml loader
Diffstat (limited to 'tomorrowthegroundGUI')
-rw-r--r--tomorrowthegroundGUI/tomorrowthegroundGUI.pde2
1 files changed, 1 insertions, 1 deletions
diff --git a/tomorrowthegroundGUI/tomorrowthegroundGUI.pde b/tomorrowthegroundGUI/tomorrowthegroundGUI.pde
index b784b99..0fe919e 100644
--- a/tomorrowthegroundGUI/tomorrowthegroundGUI.pde
+++ b/tomorrowthegroundGUI/tomorrowthegroundGUI.pde
@@ -36,6 +36,6 @@ void mouseDragged()
y=mouseY;
float fx=((float)mouseX)/width;
float fy=((float)mouseY)/height;
- udp.send(((fx*fw)+lng1)+","+((fy*fh)+lat2)+"\n","127.0.0.1",5204);
+ udp.send(((fy*fh)+lat2)+","+((fx*fw)+lng1)+"\n","127.0.0.1",5400);
}
}