I’m linking a core to an RGB matrix . For sending data it seems that the spark.function is the easiest, but is limited to a string , length 63. I have tried putting data into a string, but I cant send any bytes > 128 in value, and the character 38 “&” causes all letters in the string after it to not appear. I can get around this by just using 6 bits of data (numbers 0-63) . ie to send the number 33, I add 40 to it, and on the spark subtract 40, seems to work.(This gets around the ascii(38) issue)
Is there any easy way to send more data than 63 bytes?
Its works but is slow…
Would UDP work better???
@hamish,the Photon has a limit of 255 while the new Core release planned in a couple of months will get the same limit. For now, on the Core your best bet is to use TCP or UDP.