Skip to content

dj0abr/linux_timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

linux_timer

Timer for various use, calls a function every xxx milliseconds

Usage

int t1,t2;

void t1func()
{
    printf("Timer-1\n");
}

void t2func()
{
    printf("Timer-2\n");
}

int main()
{
    printf("Timer Test\n");

    t1 = start_timer(500, t1func);
    t2 = start_timer(1000, t2func);

    sleep_ms(5000);

    stop_timer(timer1);
    stop_timer(timer2);
    
    return 0;
}

About

Timer for various usage, calls a function every xxx milliseconds

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy