Hello there!
Im alittle new here cause i just my arduino duemilanove and this is my first attempt to install a code to it
its not my code but found it on the web:
http://arduinotronics.blogspot.com/2010/10/ds1307-real-time-clock-working.htmlHardware:
- Arduino Duemilanove
- RTC clock module (Sparkfun)
- 16x2 LCD Display
(Exactly like the webpage)
So im trying to install this code but when im trying to verify it then it is telling me its wrong. so im here to get some help with my code.
_24_Hour_Clock.cpp: In function 'void setDateDs1307(byte, byte, byte, byte, byte, byte, byte)':
_24_Hour_Clock:60: error: call of overloaded 'write(int)' is ambiguous
C:\Users\Thomas\Desktop\arduino-1.0\libraries\Wire/Wire.h:55: note: candidates are: virtual size_t TwoWire::write(uint8_t)
C:\Users\Thomas\Desktop\arduino-1.0\hardware\arduino\cores\arduino/Print.h:49: note: size_t Print::write(const char*)
_24_Hour_Clock.cpp: In function 'void getDateDs1307(byte*, byte*, byte*, byte*, byte*, byte*, byte*)':
_24_Hour_Clock:82: error: call of overloaded 'write(int)' is ambiguous
C:\Users\Thomas\Desktop\arduino-1.0\libraries\Wire/Wire.h:55: note: candidates are: virtual size_t TwoWire::write(uint8_t)
C:\Users\Thomas\Desktop\arduino-1.0\hardware\arduino\cores\arduino/Print.h:49: note: size_t Print::write(const char*)
This is the "Warning" / "Error"
Does anyone know how i can make it work or help me to the correct direction ?
Thanks in Advance