Problem with TIMER ON DELAY
i am programing a microprocessor. The system part of the application is already done, so i have to write the logic for all the inputs and the outputs ...
In the system part of the the application there si a function UINT32 CSS_GetTime (UINT16 *ms) that gets the time in seconds and miliseconds since last reboot.
ms - is the pointer that holds the number of miliseconds (0 ..999). Can be NULL if miliseconds are not needed.
So i wrote the code something like this:
I also tryed with miliseconds. Code:
Thx for your time and help,
Re: Problem with TIMER ON DELAY
The timer, is working now. But once the output is set i cannot put it to 0 even if the input is pressed for a shorter time then 3000 ms. I dont know what i did wrong, can somebody help me. Below is the code that i used ...
|All times are GMT +5.5. The time now is 11:38.|