Dtynin
DIIDevHeads IoT Integration Server
•Created by Dtynin on 7/24/2024 in #pcb-and-analog
Failed to Read RTC Data with ATmega2560 and Zephyr OS: Integration Issue
Hey guys, so I've been trying to integrate an RTC module with an ATmega2560 and Zephyr OS for time-stamped data logging, and resolve the issue of failing to read from the RTC? I have tried connecting the RTC module via I2C and implementing RTC read and write operations, despite that, I've been encountering the error "Failed to read from RTC."
Here's the code:
If the implementation is successful, the output should log a message indicating that the RTC data has been read successfully.
6 replies