Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed addressing?

  • Loading branch information...
commit c11ebf2ca651ef5c329b1cc1763ba094b4220010 1 parent 00a53a8
Max Henstell mhenstell authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  Dacwes.pde
3  Dacwes.pde
@@ -81,7 +81,7 @@ public class Dacwes {
81 81
82 82 private int getAddress(int x, int y) {
83 83 if (addressingMode == ADDRESSING_VERTICAL_NORMAL) {
84   - return (x * h + y);
  84 + return (y * w + x);
85 85 }
86 86 return 0;
87 87 }
@@ -111,6 +111,7 @@ public class Dacwes {
111 111 buffer[(getAddress(x,y)*3)+3] = byte(b);
112 112 }
113 113 }
  114 +
114 115 udp.send(buffer,address,port);
115 116 }
116 117 }

0 comments on commit c11ebf2

Please sign in to comment.
Something went wrong with that request. Please try again.