resolve wpm frequency issue, add sleep to driver

Frequency of pwm change only be changed in interval larger than 15ms,
after changes, I/O speed is not affected.
GUI will tell raspberry pi’s motors to sleep when joy stick is not in
use