Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Arduino: 1.8.10 (Windows 10), Vývojová deska: "Arduino Nano, ATmega328P"
- garden:4:20: error: no matching function for call to 'DS3231::DS3231(const uint8_t&, const uint8_t&)'
- DS3231 rtc(SDA,SCL);
- ^
- In file included from C:\Users\Libor\Documents\Arduino\garden\garden.ino:3:0:
- C:\Users\Libor\Documents\Arduino\libraries\DS3231/DS3231.h:64:3: note: candidate: DS3231::DS3231()
- DS3231();
- ^~~~~~
- C:\Users\Libor\Documents\Arduino\libraries\DS3231/DS3231.h:64:3: note: candidate expects 0 arguments, 2 provided
- C:\Users\Libor\Documents\Arduino\libraries\DS3231/DS3231.h:60:7: note: candidate: constexpr DS3231::DS3231(const DS3231&)
- class DS3231 {
- ^~~~~~
- C:\Users\Libor\Documents\Arduino\libraries\DS3231/DS3231.h:60:7: note: candidate expects 1 argument, 2 provided
- C:\Users\Libor\Documents\Arduino\libraries\DS3231/DS3231.h:60:7: note: candidate: constexpr DS3231::DS3231(DS3231&&)
- C:\Users\Libor\Documents\Arduino\libraries\DS3231/DS3231.h:60:7: note: candidate expects 1 argument, 2 provided
- garden:5:1: error: 'Time' does not name a type; did you mean 'Wire'?
- Time t;
- ^~~~
- Wire
- C:\Users\Libor\Documents\Arduino\garden\garden.ino: In function 'void setup()':
- garden:36:7: error: 'class DS3231' has no member named 'begin'
- rtc.begin();
- ^~~~~
- C:\Users\Libor\Documents\Arduino\garden\garden.ino: In function 'void loop()':
- garden:54:3: error: 't' was not declared in this scope
- t = rtc.getA1Time();
- ^
- garden:54:21: error: no matching function for call to 'DS3231::getA1Time()'
- t = rtc.getA1Time();
- ^
- In file included from C:\Users\Libor\Documents\Arduino\garden\garden.ino:3:0:
- C:\Users\Libor\Documents\Arduino\libraries\DS3231/DS3231.h:109:8: note: candidate: void DS3231::getA1Time(byte&, byte&, byte&, byte&, byte&, bool&, bool&, bool&)
- void getA1Time(byte& A1Day, byte& A1Hour, byte& A1Minute, byte& A1Second, byte& AlarmBits, bool& A1Dy, bool& A1h12, bool& A1PM);
- ^~~~~~~~~
- C:\Users\Libor\Documents\Arduino\libraries\DS3231/DS3231.h:109:8: note: candidate expects 8 arguments, 0 provided
- Byly nalezené násobné knihovny "Wire.h"
- Použitý: C:\Program
- Byly nalezené násobné knihovny "DS3231.h"
- Použitý: C:\Users\Libor\Documents\Arduino\libraries\DS3231
- exit status 1
- no matching function for call to 'DS3231::DS3231(const uint8_t&, const uint8_t&)'
- Táto zpráva by měla mít víc informacií v
- "Zobrazení podrobného výstupu při kompilaci"
- podle zapnuté volby v Soubor -> Nastavení.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement