the file pwm.c hase some code at the begining that does not work. also the define noted does not generate a correct number.