I am trying to use the time.h library. However, whenever I am calling time(NULL), I receive the same value. It is like the time is not progressing. Any ideas?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am trying to use the time.h library. However, whenever I am calling time(NULL), I receive the same value. It is like the time is not progressing. Any ideas?
I don't really understand what do you mean by RTC.
I am trying to program aboard we made in house. The processor is a Tive TM4.
Basically, I don't really need the actual time but only the time in seconds so I could check how much time passed since the last time I read the time...
Hello Elad,
Can you provide more information? Part number, tools, DriverLib version, example project you are using if any, where you received time.h, etc?
Thanks,
-C
So after some time I figured that the time.h library is not working. Instead I have starting using the micro-controller system clock which basically does the same as long as you know the tick rate of the system.
Thank you everyone for trying to help me out with this one.