def steps(self, start, end):
if not <NUM_LIT:0> <= start <= <NUM_LIT:1>:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>if not <NUM_LIT:0> <= end <= <NUM_LIT:1>:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>raw_start = self._to_single_raw_pwm(start)<EOL>raw_end = self._to_single_raw_pwm(end)<EOL>return abs(raw_start - raw_end)<EOL>
Get the maximum number of steps the driver needs for a transition.

:param start: The start value as uniform pwm value (0.0-1.0).
:param end: The end value as uniform pwm value (0.0-1.0).
:return: The maximum number of steps.