l293d icon indicating copy to clipboard operation
l293d copied to clipboard

Format 'stopping motor...' more neatly when wait = True

Open jmsv opened this issue 7 years ago • 0 comments

Format 'stopping motor...' more neatly when wait = True:

Fancy threading stuff happens when wait is True to make the method return immediately while the motor keeps spinning until the duration ends. This means that when stop is called at the end, the message printed (if verbose) is formatted badly:

Example output

In this case, the print statement prints to the Python console prompt, which shouldn't happen

jmsv avatar Jun 03 '17 13:06 jmsv