RTC module alarm (Solved)

Hello everyone! Im stuck in a project you may be able to help!

im trying to make an alarm clock. The showed here>

For now i just copied and paste the code but it shows me an error:

Real_Time_Clock_With_Alarm:16:21: error: no matching function for call to 'DS3231::DS3231(const uint8_t&, const uint8_t&)'
DS3231 rtc(SDA, SCL);

---- the error is in
DS3231 rtc(SDA, SCL);

the library im using is the one of io library:

any thoughts?


Try posting your code and a schematic as you have wired it, not a frizzy thing. Include links to all the hardware devices as well.

I’m not familiar with that library, however the best way to troubleshoot a problem like this is to start with little pieces.

Even being more seasoned with Arduino I start by getting each hardware device working.

My suggestion for you is to start with the examples provided with the library. Keep things simple simple simple. Get the RTC working then start with the other pieces until you know all work. Then go back and try the complete program.

Hello everyone! thanks for your response. I solved the issue!.

Lookng at the library i realized that the one downloaded on IO was not the same as the one showed in the project. It had some additional files. I installed them and worked!

thanks again, best regards!