Where do i find the library and code i need

Why is it so hard to find library and code for my projekt. i am trying to get a grove RTC up and running with arduino, and for now I have spend the most of 6 hours, surfing the net (seedstudio, arduino.cc, mbed etc. you name it) and still nothing useful. i would expect a download section, blinking, on seedstudio, but nothing there.
This is not what i expected from opensource products.
It might be me, being blind and all, if it is, i am sorry for the complaint and could someone please point me in the right direction.

I have attach what i have found for now and the error message i get. I have change the WProgram.h to arduine.h

C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp: In member function 'void DS1307new::stopClock()':
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:48: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:51: error: 'class TwoWire' has no member named 'receive'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:53: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:54: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp: In member function 'void DS1307new::startClock()':
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:61: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:64: error: 'class TwoWire' has no member named 'receive'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:66: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:67: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp: In member function 'void DS1307new::getTime()':
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:75: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:78: error: 'class TwoWire' has no member named 'receive'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:79: error: 'class TwoWire' has no member named 'receive'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:80: error: 'class TwoWire' has no member named 'receive'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:81: error: 'class TwoWire' has no member named 'receive'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:83: error: 'class TwoWire' has no member named 'receive'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:84: error: 'class TwoWire' has no member named 'receive'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:85: error: 'class TwoWire' has no member named 'receive'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp: In member function 'void DS1307new::setTime()':
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:99: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:100: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:101: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:102: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:103: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:104: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:105: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:106: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp: In member function 'void DS1307new::getCTRL()':
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:114: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:121: error: 'class TwoWire' has no member named 'receive'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp: In member function 'void DS1307new::setCTRL()':
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:128: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:129: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp: In member function 'void DS1307new::getRAM(uint8_t, uint8_t*, uint8_t)':
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:139: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:148: error: 'class TwoWire' has no member named 'receive'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp: In member function 'void DS1307new::setRAM(uint8_t, uint8_t*, uint8_t)':
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:158: error: 'class TwoWire' has no member named 'send'
C:\Users\Anders\Downloads\arduino-1.0.1\libraries\GroveRTC\DS1307new.cpp:161: error: 'class TwoWire' has no member named 'send'

Regards
Anders

And i cannot upload a file with cpp extension at seedstudio - whats that about...

DS1307new.cpp (11.9 KB)

DS1307new.h (2.48 KB)

keywords.txt (984 Bytes)

DS1307_Test.pde (5.51 KB)

It might be me, being blind and all, if it is, i am sorry for the complaint and could someone please point me in the right direction.

google: DS1307 arduino easily xxx links which lead to libs and example code
ebay: DS1307 easily xxx sellers who give example code and libs on their product page
and for the lulz :wink: seedstudio- groove rtc click on "usefull links" on the prducts page...
or click on seeedstudio rtc product page on: Please visit our wiki page for more info about this product :wink:

lax123:

It might be me, being blind and all, if it is, i am sorry for the complaint and could someone please point me in the right direction.

google: DS1307 arduino easily xxx links which lead to libs and example code
ebay: DS1307 easily xxx sellers who give example code and libs on their product page
and for the lulz :wink: seedstudio- groove rtc click on "usefull links" on the prducts page...
or click on seeedstudio rtc product page on: Please visit our wiki page for more info about this product :wink:

Hey lax123
Thank you for response. I past lulz hours ago :wink:
As i wrote

I have spend the most of 6 hours, surfing the net (seedstudio, arduino.cc, mbed)

and as you can see on my attachments i have found files, but they just give me error. that's what i find especially frustrating, surfing the sites that you suggested, for hours, without finding something that i can make work. There is nothing usefull in usefull links and they do not give example code for the RTC. Maybe it is because i am supposed to be able to make changes in library - which i have done.
Sorry if i sound a bit baleful and harsh but i am not that trained and i have to make something work to be able to learn.
I do appreciate you taking time to respond.

regards
Anders

sry, its been a while i made my rtc work, only thing i can remember is that it was fairly easy.
so idk i guess your doing some profound mistakes

the grove seeedwiki looks like you dont need any libs except for standard wire lib and that example code. r those the errors you get from that sample code?

I have change the WProgram.h to arduine.h

That's not all you have to change. The error messages are caused because the compiler can't find "send" and "receive" methods in the TwoWire class. That is because those methods were renamed in V1. If you edit DS1307new.cpp and change "send" to "write" and change "receive" to "read" that will get rid of those errors.

Pete

lax123:
sry, its been a while i made my rtc work, only thing i can remember is that it was fairly easy.
so idk i guess your doing some profound mistakes

the grove seeedwiki looks like you dont need any libs except for standard wire lib and that example code. r those the errors you get from that sample code?

Yes I used "Wire.h" and "DS1307new.h" I can see that both libs include "WProgram.h" witch has change to arduino.h since 1.0. I have change that in bouth libraries as suggested in some threads and i still get error message.
Maybe it is some of the settings in the arduino client??

el_supremo:

I have change the WProgram.h to arduine.h

That's not all you have to change. The error messages are caused because the compiler can't find "send" and "receive" methods in the TwoWire class. That is because those methods were renamed in V1. If you edit DS1307new.cpp and change "send" to "write" and change "receive" to "read" that will get rid of those errors.

Pete

And yet another angle enters the scene.
Thank you pete, that i'll do
have to eat, then i will responde

I'm happily using the same RTC unit from Seeed.

I ended up using the 1307 library that was included with the Arduino time library.

http://arduino.cc/playground/Code/Time

What Pete's suggested got rid of the errors so now i can verify without problems - thanks Pete.
The test sketch does not return anything so i still have some work to do
guess i will try what Saskatchewan suggested.

Thanks for respond
regards
Anders