Hi Uttam, Thank you for your response. I think the problem is with the multiplication factor. If you take 409.5 as the multiplication factor, the integer part of the result (2.5*409.5) comes to 1023 for which output is not coming. But instead of 2.5 if you give (2.501*409.5) the integer part of the result is 1024 for which "output is coming" as 2.505. It happens with 5V also. But if you use multiplication factor as 409.6, for (2.5*409.6) output is coming because its result comes as 1024. It works for all other ranges of inputs(409.6). But for 10V you can't use (10*409.6) as it goes out of range. My question is which is the right multiplication factor to be used?? Regards Vinay Hasyagar
↧