timers or appending
-
I should recieve an array of bytes of lenght 212 at a time from the sensor, but am recieving some bytes ie,set X[] at one time and some bytes i,e set Y[] of different lengths. how could i set the sensor for not having "delay" in sending the set of bytes[212]. OR how can i assign Set X bytes to one array and Set Y bytes to another array, so that i could append them?? chaitu
-
I should recieve an array of bytes of lenght 212 at a time from the sensor, but am recieving some bytes ie,set X[] at one time and some bytes i,e set Y[] of different lengths. how could i set the sensor for not having "delay" in sending the set of bytes[212]. OR how can i assign Set X bytes to one array and Set Y bytes to another array, so that i could append them?? chaitu
How do you receive those bytes ? Why are you getting delays ? Be more explicit.
-
How do you receive those bytes ? Why are you getting delays ? Be more explicit.
BYTE x[1024]; l= recv(); printf("Length: %i \n", l); for(i=0;i
-
BYTE x[1024]; l= recv(); printf("Length: %i \n", l); for(i=0;i
I just don't see what you are talking about. What is the problem with storing these values in an array ? The varying size ? Then you can use a vector from the STL, it will let you add and retrieve elements in the array without worying about the size. BTW, use the pre or code tags when you post code.