Creating a mobile engine for my baby son

I mean, I'm also a bit new to the business and I worked on some tutorials and combined some things I learned in these. From one tutorial I took the code for controling the stepper engine.