HI
Two questions:
1. I wonder if this question related with a LPC product? or a pure C language question?
2. If this is a pure C question. your problem is
after executing dtr=command; (command is 226) ,dtr doesn't get the the same 226 but 1? You want to know why.
Is this your question?
Thanks,
Jun Zhang