Send array through serial port?

I want to send a pack or an array of data to my laptop at the same time, so that I can monitor the data in real time. But as far as I know, the serial port only sends 8 bits number. So is that possible to send array of data?

Thanks in advance guys ;)

you will only be able to send the data one bit at a time. But this can happen fast enough to make it seem “real time” :slight_smile:

you have to send the data one chunk at a time

char myarray[sizeofarray];

for(n=0; n < sizeofarray; n++)



which would print out all of the characters in your array one after the other.