I need to make a timer or something like that to call a function over and over again for like 20 seconds.. i cannot use windows.h im using xcode on mac.
1 2 3 4 5 6 7 8
// example
if(input == "Cutting"){
// timer here wich can call a function over a peroid of time
// and call myfunc(); over and over again for 20 seconds
// then after 20 seconds stop calling it and call function inputs(); once done
}