Open takujikawata opened 7 years ago
variable 'angle' is referenced as local variable, so main function don't get the updated value. Make the variable as global to reference the same from main and save_value function.
variable 'angle' is referenced as local variable, so main function don't get the updated value. Make the variable as global to reference the same from main and save_value function.