> OK then. From what I can see on the scope and the image data the PIC > returned, it looks like the CCD is discharging before the PIC gets a chance > to read it back. I bet this is down to reading two lines of image data, then > blasting them down the RS232 link, then grabbing more. Unfortunately the > entire image will take around 16k bytes, which is a fair bit more than the > 1536 bytes of RAM the PIC has. It also seems the PIC doesn't have enough I/O > lines to address a 16kbyte RAM, well, not with the camera connected anyway. > > Some days you just can't win. :-/ Don't try to get all the data from one scan on the camera. Instead, do something like this: for col = 0 to N-1 command camera to scan read pixels from camera, store only those for column 'col' in a buffer. send buffer with one column's data to the host next col Bob Ammerman RAm Systems _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist