I can't change the speed of my dc motor

The limit where it is off is somewhere below 200.

Now if you'd said the switching point was 127/128 it would have been obvious
what was happening - providing accurate and plentiful information is usually
worth it.