16 bit to 8 bit using vb.net programming in visual studio
I am having an issue getting the exact same value for example if I am entering ushort as &HFA91 which is equal to 2705 Dec but instead of 2705 I am able to read 2507 similarly if I am entering 3000mV which is 3V the output reduces to 2.87V automatically. I am not able to read exact values. Why is that so? Is it because of my timer or am I not initializing the variables properly or what