Closed rtek1000 closed 2 years ago
Too soon, I replaced this library with the other one, but it's still crashing, so I'll leave this notification closed, in case I manage to find the problem, I'll try to comment later.
I found the problem, the other library that makes the display work doesn't allow the I2C port to work properly.
A library for driving the Freetronics 512 pixel dot matrix LED display "DMD", a 32 x 16 layout.
Library that does not support I2C: https://github.com/freetronics/DMD2
Library that accepts I2C: https://github.com/freetronics/DMD
I tried to use this function to read the RTC, but the Arduino Pro Mini crashes constantly.
I was only able to isolate the problem using WDT. I was isolating each part of the code until I got to this library function. If I comment out this line, there are no more crashes:
Full function:
In another project with RTC DS3231 I've been using this other library for a long time without having this kind of problem, in case someone wants to compare what might be happening: https://github.com/JChristensen/DS3232RTC