piedos
Newbie level 4
Hello,
I need a program like
fire(ret_z=any_function(int x, char * y), 200);
which calls any_function after 200 milliseconds by timer interrupt. ayn_function can be printf, my_function, etc.
return_z and inputs x and y (which may increase according to function to be called) are global variables.
How can I build this function
I couldn't find open source of printf funtion. This function can handle varying type/length input parameters. I think open source of printf may help to solve problem.
Thanks
I need a program like
fire(ret_z=any_function(int x, char * y), 200);
which calls any_function after 200 milliseconds by timer interrupt. ayn_function can be printf, my_function, etc.
return_z and inputs x and y (which may increase according to function to be called) are global variables.
How can I build this function
I couldn't find open source of printf funtion. This function can handle varying type/length input parameters. I think open source of printf may help to solve problem.
Thanks