Sinking current - How to pull down a point to zero using Arduino pins

With a voltage divider you'd get two speeds,
slow and slower.
How slow would depend on the resistors used.
There would be no off and no full speed.
What is wrong with using inverted outputs?
It is just code.
Instead of 0 is on and 1 is off,
you'd use 1 on and 0 is off.
rant on:
I see the example of using a switch with a pull
down resistor just so the code would be high is
pressed. That is just silly when using a grounded
switch eliminates the need for the resistor using
the input pullup mode.
rant off:
Dwight