Hi Chris, iÂ'm not getting your explanations very well, but hier is what iÂ've done: void init (void) { EBCMOD0 = 0x7400; EBCMOD1 = 0x003F; SYSCON3_CC6DIS = 0; ALTSEL0P1L_P0 = 1; ALTSEL0P1L_P1 = 1; DP1L_P0 = 1; DP1L_P1 = 1; P1L_P0 = 1; P1L_P1 = 1; } iÂ've took this ports-bits in the header file "xc16x.h". So if you can explain me deeper youÂ've sent me iÂ'll very thanksfull. P.S: IÂ'm not an AS in programing you can also send me a mail at: djabson@yahoo.fr if you want. thanks in advance
Please, these are threads. You don't need to start new threads for every little sub-problem you have about the same thing.
Continue within one thread until you have got your PWM problems solved.
These are other threads about your PWM problems:
http://www.keil.com/forum/docs/thread11363.asp http://www.keil.com/forum/docs/thread11362.asp
It gets very hard for you and others to try to follow this discussion if it is splitted into a large set of threads...
Please read the instructions on how to post source code: www.danlhenry.com/.../keil_code.png