Go Down

Topic: Error in camera C328R library file (Read 1 time) previous topic - next topic

RaHuLL

Hello all,
I am interfacing camera and arduino.
I am using serial TTL camera and using C328R library file bt got error in it as "Byte in not known type"
Please help me.Thanks in advance.

dxw00d

Probably means the library hasn't been updated for IDE 1.0+. As you haven't posted a link to where you got it from, it's just a guess though.

RaHuLL

hey i am attaching library file..
It gives error wherever byte is used..

dxw00d

As I thought. Not IDE 1.0+ compatible.

You need to either:
. Use a pre-1.0 version of the IDE.
. Find a newer version of the library, or contact the author and get them to update it.
. Update it yourself.

If you want to update it yourself, there are a number of things you need to do.
. See point 2 at http://arduino.cc/forum/index.php/topic,97455.0.html.
. The library makes use of NewSoftSerial. You will need to replace all occurrences of NewSoftSerial with SoftwareSerial.
. Replace all:
Code: [Select]
Serial.print(data,BYTE);
with
Code: [Select]
Serial.write(data);
. There may be other things too.

RaHuLL

I am getting so confused with updated  and old libraries.
If any one having recent working stuff regarding C328 camera with arduino,please e-mail me on "rbangar30@gmail.com".

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview