[C] Create a file to calculate the clock angle