??? 10/28/05 11:13 Read: times |
#103077 - Are you sure? Responding to: ???'s previous message |
Jan Waclawek said:
The biggest sin of posters to this Forum is not reading the manual completely. The second next is to post a typed-in code, not copy/pasted the real one.
This line certainly results in error when you attempt to assemble it: U Kaz said:
MOV T2CON,#4CH ;timer, counting upwards WRONG, this line does NOT give any error when assembled thats why I posted it here, I am afraid Jan but you have got it wrong as there is nothing wrong with this line. But your real problem lies in this line: U Kaz said:
MOV T2MOD,#02H ;initialising timer 2 as auto-reload 16 bit Jan Waclawek Yes, I understand and I appreciate that you pointed out this mistake , thanks for that, I DO NOT want to use timer 2 as programmable clock out, I just want to use it as 16 bit "Auto-Reload timer", counting up and generating &*&^^$ interrupt. please tell me how to initialise for this. Much appreciative for any assistance Regards Kaz |