Part Number: TMS320F28335
Tool/software: Code Composer Studio
Hello,
I am using the Pmod DA4: Eight 12-bit D/A Outputs and it may receive up to 32 bits of information as so:
I plan to send two 16 bits of info to the DAC. The data bits I want to send come from:
CurrDrawn = meas_volt2curr((float)AdcMirror.ADCRESULT0 * 3/4096); //CurrDrawn is a double and meas_volt2curr performs simple math operations to change the value
I was wondering how I can convert the double back into binary form so that I can send it to the DAC.
Thank you in advance!
Jose
