Other Parts Discussed in Thread: BQ27742-G1
I want to write a float value into the CC Gain register but as it is a 4 bytes float value so i have to convert it to the char array because i am using the i2c interface with my microcontroller.
i have tried the type conversion method and union method also but it is not writing the exact float value which I want to write to CC Gain register.
Can somebody help me out to do the conversion.