When i used your lib Admin, you had a function "uartSendBuffer()" that would load a buffer of a specified size into the TX buffer of a uart and send it out. I believe this was a faster way to send a packet of bytes faster then just calling "uartSendByte()" repeatedly. Is there anything like that in webbot lib?
I am trying to send a 4 byte packet to my custom motor-controller.
Right now i do this:
motor_str_out[0] = 'C';
motor_str_out[1] = left;
motor_str_out[2] = right;
motor_str_out[3] = '*';
for(int i = 0; i < 4; i++)
uartSendByte(MOTOR_COM, motor_str_out[i]);
and it works, but i think it would be more efficient to use a uartSendBuffer() equivalent with a pointer to the address for the array.