2024-02-02 04:10 AM - edited 2024-02-03 01:05 AM
hey!
im working on data logging and want to store all data in text file
where i want to save date and time with the use of RTC clock and external interrupt based on timer with gap of 1 sec i have things configured correctly for the RTC which works fine
but its logging duplicate entries
how to solve this error or can you point me in the right direction?
2024-02-02 06:57 AM
> is this behaviour normal
It is not normal behavior to store 2 entries when you only want 1.
Likely your code has a bug in it which causes this behavior. Debug your code to find the issue and fix it.
2024-02-02 06:58 AM - edited 2024-02-02 07:07 AM
Hi,
Generally if something does not work as you want, yes you have to do some changes. If you can delegate the work to somebody else, this is also an option.
Here are tips how to ask a good question on a technical forum such as this one:
2024-02-03 01:07 AM
yes sir i have followed given link and will improve things from now on!
thank you for suggestions and
if possible can you point me in the right direction for my question
2024-02-03 06:54 AM
Here is an opensource project that you can use as inspiration: https://github.com/d-ronin/openlager