Use unsiged variables for pin assignment.
Remove unused increase and decrease speed functions.
Add function to get current set speed.
Rename getSpeed to getCurrentSpeed.