summaryrefslogtreecommitdiff
path: root/tomorrowthegroundGUI
diff options
context:
space:
mode:
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);
}
}