My goal's to have the JPEG camera capture & save an image to a remote device;

- for sandbox purposes, I'd just like to save the image to my computer [yep, I know I just do this with a webcam. Again, just to get a handle on the code on both ends that would do this as well as eliminate the possibility of other issues in the flow]

- the END goal is to send the captured image over bluetooth to a mobile app to display. Since I'd like to get a handle on the whole process first, I'd *just* like to generalize it to saving the image to the computer.

Right now, I'm using a Duemilanove board with a ATMEGA328P and a BlueSMIRF gold bluetooth module.I've got the Arduino communicating with my computer through the bluetooth module perfectly right now; able to send commands through the serial terminal and receive a response.

I've been searching all around for an updated example that might point me in the right direction, but I've had no luck so far. I've looked at the Adafruit tutorial for the JPEG TTL Camera module, but I've yet to be able to have the code compile properly. In the Snapshot example code, I remove all of the 'SD' references and attempt to grab the saved binary data from the camera, but I only get compilation errors.

I've also tried Linksprite's example code for the TTL camera they provide (I have both); but it looks as though their code is also out of date. I've changed all of the NewSoftSerial library references to SoftwareSerial, and replaced the mySerial.print(<hex>, BYTE) with mySerial.write(<hex>), but I'm prompted with an 'ambiguous' reference to the write function error. (though I'm not sure which other 'write' function I could be referencing...)

So, my question remains:

Does anyone have an up-to-date example / code sample they can point me to or perhaps advice on how I can accomplish my goal of capturing the image using the JPEG camera and sending it [over bluetooth / serial connection] to a remote device [my computer / mobile device]?

I'm prompted with an 'ambiguous' reference to the write function error. (though I'm not sure which other 'write' function I could be referencing...)

The write() function is overloaded to accept different argument types. The error message is probably trying to tell you that the values you're passing do not exactly match any of the overloads and the compiler has not been able to guess which one you are trying to call. Explicitly casting the argument value to one of the types supported by write() should resolve that.

I only provide help via the forum - please do not contact me for private consultancy.

I've been searching all around for an updated example that might point me in the right direction, but I've had no luck so far.

Does that not tell you anything?Either you are on the cutting edge of what an Arduino can do or it is impossible.

Just do some sums and see how long a transfer will take, it might be much longer than you thought.

Quote

I remove all of the 'SD' references and attempt to grab the saved binary data from the camera, but I only get compilation errors.

So that means you are not doing something right. Look at the compiler errors and see where you are going wrong.

"I've been searching for an updated example..." -- There are examples that show it's possible, and it's certainly not cutting edge. For example: http://www.youtube.com/watch?v=qEVXqOJz-GY

Grumpy_Mike, although I appreciate any input I can get here, I resorted to posting the question after exhausting resources and research time... NOT before giving it a gentleman's effort. I'd appreciate that if you don't have input beyond non-helpful comments that you just restrain yourself from responding altogether; there are plenty of other threads on this forum that you can give your input on.