convert float resistance to schar array for ble transmission