Replies: 3 comments 1 reply
-
This is more than likely due to you are not setting the timeout. This was a change made to the Wire API that this library uses for that RTC. You can read about it here. This timeout feature is not universal across platforms. So, it will just lock up if it doesn't find the device is normal operating procedure from WIRE. I am including the relevant parts of your code (simplified and modified) here.
Can you run this and copy the serial output here? |
Beta Was this translation helpful? Give feedback.
-
I think it's good part with +5v |
Beta Was this translation helpful? Give feedback.
-
Yes, I have tested again, the problem is solved the Rtc.LastError function is very useful |
Beta Was this translation helpful? Give feedback.
-
Hello
on an Arduino Uno v3 base, some tests on a DS3231 module from Adafruit brought me here :)
Short explanation : when I disconnect the 5volt power supply of the module, my arduino program is blocked, the Loop doesn't run anymore, it's a bit annoying.
So I'm facing a blocking library, and it's not the only one, I tested the most popular ones and they all have the same symptom "Bloking Loop" :)
So why I disconnect the Plus +5v!? because I find life too easy? No, it's because I don't like to be taken by surprise, so I test and re-test my setups before putting them into service.
a french thread https://forum.arduino.cc/t/librairie-makuna-freez/1081415/1 on this story
(c good the atmosphere is not violent, you can enter)
Translated with www.DeepL.com/Translator (free version)
Beta Was this translation helpful? Give feedback.
All reactions