Hi, I have a float variable (of 32 bit), that goes from 1.5 to 9. I would send these values to a 16 bit DAC, ( DAC8568).
The conversion would be:
1.5 ---> 0000.0000.0000.0000
9 ---> 1111.1111.1111.1111
Have you in mind an algorithm for implementing this conversion?
Thank you for the help!