I'm just struggling with one of the questions in my Computer Hardware assignment.
An 8-bit A-D conversion chip is configured to sense a voltage in the range 0 to 6V. Given an analog input voltage of 2.5V, determine, showing full working, what the 8-bit digital output should be.
So, using formula given by professor solution is:
2^8 = 256 so (2.5/6)/255 ≈ 0.002V
But, when I did some extra research, I found a different formula:
(2.5/6) * 255 = 106.25
So, which formula is correct and why?