Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minicore 328pb and DS1307RTC #262

Open
Zlodeyz opened this issue Jul 20, 2023 · 3 comments
Open

Minicore 328pb and DS1307RTC #262

Zlodeyz opened this issue Jul 20, 2023 · 3 comments

Comments

@Zlodeyz
Copy link

Zlodeyz commented Jul 20, 2023

При использовании библиотеки DS1307RTC в демо скейтчи Readtest arduino nano не отрабатывает setup (зависает)
Вся проблема в очередности подключения библиотеки.

Так НЕ работает
#include <Wire.h>
#include <DS1307RTC.h>

Так работает.
#include <DS1307RTC.h>
#include <Wire.h>

В чем проблема ?

@MCUdude
Copy link
Owner

MCUdude commented Jul 20, 2023

You're using this library, right? https://github.com/PaulStoffregen/DS1307RTC

It includes Wire.h in its .cpp file, so there's no need to include it in your sketch. I have no idea why it freezes. Ask the library author.

@Zlodeyz
Copy link
Author

Zlodeyz commented Jul 20, 2023

You're using this library, right? https://github.com/PaulStoffregen/DS1307RTC
yes .
Спасибо

@Zlodeyz
Copy link
Author

Zlodeyz commented Jul 20, 2023

Если выбрать стандартную плату arduino nano то таких проблем нет.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants