Change stop_bits to float to allow 1-1 mapping of values.