Pages: [1]   Go Down
Author Topic: Error in camera C328R library file  (Read 1035 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

* Camera RSV5-C328R.zip (6.53 KB - downloaded 10 times.)
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
Serial.print(data,BYTE);
with
Code:
Serial.write(data);
. There may be other things too.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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".
Logged

Pages: [1]   Go Up
Jump to: