1. replaced char with double in getTimeInterval; 2. solved the problems with type mismatches in PulseTimer -> setInterval; 3. removed commented code; 4. replaced 'dynamic' array size declarations with static ones, as it's impossible to determine the array size when it's passed by pointer.