Corrected comment and removed a function in pwm.h
Reordered functions in pwm.h
Removed the last warnings
Commented in the pwm.c file and changes the function order.