The function "bin_to_voltage" converts binary to float, but returns the final value as integer
The function "bin_to_voltage" converts binary to float, but returns the final value as integer