tomi8822 Creative Commons License 2018.01.14 0 0 3337

Szia köszönöm.

Nekem uno van ,valamiért nem sikerült feltöltenem, ezt dobja hibának:

 

sketch_jan14c:8: error: no matching function for call to 'DS3231::DS3231(const uint8_t&, const uint8_t&)'

DS3231 rtc(SDA, SCL);

^

C:UserstomiDocumentsArduinosketch_jan14csketch_jan14c.ino:8:20: note: candidates are:

In file included from C:UserstomiDocumentsArduinosketch_jan14csketch_jan14c.ino:1:0:

C:UserstomiDocumentsArduinolibrariesDS3231/DS3231.h:64:3: note: DS3231::DS3231()

DS3231();

^

C:UserstomiDocumentsArduinolibrariesDS3231/DS3231.h:64:3: note: candidate expects 0 arguments, 2 provided

C:UserstomiDocumentsArduinolibrariesDS3231/DS3231.h:60:7: note: constexpr DS3231::DS3231(const DS3231&)

class DS3231 {

^

C:UserstomiDocumentsArduinolibrariesDS3231/DS3231.h:60:7: note: candidate expects 1 argument, 2 provided

C:UserstomiDocumentsArduinolibrariesDS3231/DS3231.h:60:7: note: constexpr DS3231::DS3231(DS3231&&)

C:UserstomiDocumentsArduinolibrariesDS3231/DS3231.h:60:7: note: candidate expects 1 argument, 2 provided

sketch_jan14c:9: error: 'Time' does not name a type

Time t;

^

C:UserstomiDocumentsArduinosketch_jan14csketch_jan14c.ino: In function 'void setup()':

sketch_jan14c:22: error: 'class DS3231' has no member named 'begin'

rtc.begin();

^

C:UserstomiDocumentsArduinosketch_jan14csketch_jan14c.ino: In function 'void loop()':

sketch_jan14c:34: error: 't' was not declared in this scope

t = rtc.getTime();

^

sketch_jan14c:34: error: 'class DS3231' has no member named 'getTime'

t = rtc.getTime();

^

exit status 1
no matching function for call to 'DS3231::DS3231(const uint8_t&, const uint8_t&)'

 

Előzmény: Törölt nick (3304)