i'm in trouble with the configuration of the TIM module of MC68HC908JK1 microcontroller. i wwant to use it as an PWM output to trigger a led in a IR reflective sensor. it seems that the sintaxis is good, but it doesn't work!!!!!
this is the program (section of the TIM configuration):
unsigned int Frecuencia=40;
unsigned int Dureza=4;
unsigned int Modulo;
unsigned int Duty;
Added part number to subject.
Message Edited by NLFSJ on 2007-08-12 11:46 PM