Controlling the speed of a dc motor?

So, no code and no schematic?
Good luck.