Go Down

Topic: Hilfe Bekomme die real time clock nicht ans laufen. (Read 2 times) previous topic - next topic

schilli84

Doch uwe aber die haben alle den gleichen fehler

Das von mde110 geht leider auch nicht da kommt


Quote
sketch_jan14a:1: error: function definition does not declare parameters
In file included from sketch_jan14a.ino:4:
C:\Users\Dominic\Documents\Arduino\arduino-1.0.3\libraries\Wire/Wire.h:76: error: 'TwoWire' does not name a type
sketch_jan14a:6: error: 'DS1307new' does not name a type
sketch_jan14a:8: error: expected constructor, destructor, or type conversion before '.' token
sketch_jan14a:9: error: expected constructor, destructor, or type conversion before '.' token
sketch_jan14a:10: error: expected constructor, destructor, or type conversion before '(' token
sketch_jan14a:11: error: expected constructor, destructor, or type conversion before '.' token
sketch_jan14a:12: error: expected constructor, destructor, or type conversion before '.' token
sketch_jan14a:13: error: expected constructor, destructor, or type conversion before '.' token
sketch_jan14a:14: error: expected constructor, destructor, or type conversion before '(' token
sketch_jan14a:15: error: expected constructor, destructor, or type conversion before '.' token
sketch_jan14a:16: error: expected constructor, destructor, or type conversion before '.' token
sketch_jan14a:17: error: expected constructor, destructor, or type conversion before '.' token
sketch_jan14a:18: error: expected constructor, destructor, or type conversion before '.' token
sketch_jan14a:19: error: expected constructor, destructor, or type conversion before '.' token

schilli84

#16
Jan 14, 2013, 06:51 pm Last Edit: Jan 14, 2013, 07:16 pm by schilli84 Reason: 1
So der scanner hat was gefunden

spaceball

#17
Jan 14, 2013, 07:32 pm Last Edit: Jan 14, 2013, 07:37 pm by spaceball Reason: 1
Schau mal hier nach:
https://github.com/watterott/mSD-Shield/downloads

Im Packet ist eine DS1307-Library und ein Beispiel.
Eventuell mußt Du noch die Baud-Rate (für serial) anpassen.

Mit dem weißt Du mal, obs an der Hard- oder an der Software liegt...

Gruß
Reinhard

PS.: Zum Testen einfach alle gelieferten Libraries reinhauen

mde110


schilli84

ok das geht dan kommt:

Quote
Init Display...
Init RTC...

Time: 165:165:85
Date: 165.165.2165
Time: 165:165:85
Date: 165.165.2165
Time: 165:165:85
Date: 165.165.2165
Time: 165:165:85
Date: 165.165.2165
Time: 165:165:85
Date: 165.165.2165
Time: 165:165:85
Date: 165.165.2165
Time: 165:165:85
Date: 165.165.2165
Time: 165:165:85
Date: 165.165.2165
Time: 165:165:85



im serial monitor

Go Up