Commits

bjoern committed c05765f

fixed bug that repeated messages many times

  • Participants
  • Parent commits ad1dce4

Comments (0)

Files changed (1)

File arduino_osc_udp.pde

   oscBuffer[offset++]=*(((unsigned char *)(&value))+0);
 
   //send message as one packet
-  for(i=0;i<offset;i++) {
-    Udp.sendPacket((byte *)oscBuffer,offset,targetIp,targetPort);
-  }
+  Udp.sendPacket((byte *)oscBuffer,offset,targetIp,targetPort);
+
 }