Hi All,
I have good luck taking a RAW image into memory array when I set my receive buffer size equal to the size of the incoming RAW image from the uCam-TTL. For example an 80x60x2bit grayscale raw image is 1200 bytes. If I set my serial receive buffer size to 1200 I get the image in perfectly.
However if I leave the serial receive buffer at itys default 64 bytes ( 64 bytes in my case, leaflabs Maple uController ) I get what appears to be a small section of the image repeating over and over again.
So, my question: is it required to set the serial receive buffer size at least as big as the RAW image to be captured ?
Thanks
I have good luck taking a RAW image into memory array when I set my receive buffer size equal to the size of the incoming RAW image from the uCam-TTL. For example an 80x60x2bit grayscale raw image is 1200 bytes. If I set my serial receive buffer size to 1200 I get the image in perfectly.
However if I leave the serial receive buffer at itys default 64 bytes ( 64 bytes in my case, leaflabs Maple uController ) I get what appears to be a small section of the image repeating over and over again.
So, my question: is it required to set the serial receive buffer size at least as big as the RAW image to be captured ?
Thanks
Comment