Arduino+Xbee+Ucam-ii (4d systems) to get raw images

Hi I am a new arduino user. I am trying to interface ucam-ii with arduino due / mega and transm it the raw image using xbee to the PC, but till date haven't got any luck. I tried all the avaliable codes along with the libraries provided but they are all capture jpeg image.

My task is to capture a raw image using ucam-ii and transmit it using xbee to the serial monitor in hex form.

I have got the following libraries for ucam-ii that captures raw image but i am unable to write the arduino code to access the library.

Kindly any one having such kind of idea to access the libraries using the C code please provide me as it will be of great help.

thanks

uCam (cpp).txt (13.2 KB)

uCam(h).txt (2.48 KB)

Don't cross post!

Mark