@ everybody(Erik, Per & ...) it is very interesting for me to know how did you found that i am an electronic student??? and which school session, is finished at October (in my country)? unfortunately internet is full of 'EXPERT TROLLs' instead of real 'engineers'.
Amir
Hi another question I have doubts about LER in PWM. assume that:
LPC_PWM1->MR0=1000000; LPC_PWM1->MR1=500000
and TC value is about 20 and it haven't been mached with 500000 ! now if an interrupt occurs that contains:
LPC_PWM1->MR1=200 LPC_PWM1->LER =0x01;
does the match occurs for MR1=200 or the program runs the match for MR1=500000 and uses the new value (MR1=200) for the next cycle?
thanks