Hi
I have a query need your help.
CC Offset=0xFA89;
Board Offset=0xAF; CC Gain=0x805851A8(5.573mohm)
Corrected CC Delta=0x94761F72(5.550mohm)
According to the formula: 4.768/x=5.573, then X=0.8555535618158981.
I can't find the relationship between floating point numbers: 0.8555535618158981 and 0x805851A8.
Is there something wrong with this formula?
float ccGain = (float)(knownCurrent / (float)(avgRawData - ((ccOffset + (int)boardOffset) / 16)));
Waiting for your reply.
Thanks
Star