Arducam: How to save a frame in a variable

HI guys,

i need to save a frame in a variable, how could i do? exactly i have to save the frame in a char* tmp[] variable.

thx

I don't think the arduino's have enough RAM to hold a variable the size you need.

i think i could use a trick. i need to take the difference between two image, so i can take the difference every 8kb (max ram in arduino mega).

i saw arduino have a fifo buffer of one byte. one byte is a char, so i could do something like casting of this byte as char. some suggestion about that?

sweetol:
so i can take the difference every 8kb (max ram in arduino mega).

8kB may be the max ram size, but that ram is used for other variable, serial buffers, functions calls, etc. so realistically the max is around 7kB.

sweetol:
I saw arduino have a fifo buffer of one byte. one byte is a char, so i could do something like casting of this byte as char. some suggestion about that?

I have no idea what you are talking about.

sweetol:
i need to save a frame in a variable

How big is the frame in bytes?