Moving mountains, exactly with Servos, but first, a Library (13)
This works on the WeMos Mini. It should work on the Digispark, however, the servo is sporadic, indicating that there might be issues with the ability of the timer to keep up. Servos are extremely useful for positioning. They also don’t draw that much power and don’t require external chips to run, so they’re a good way of getting an introduction to motors. Servos have three pins and they correspond to power, ground, and data. We will be using a micro servo known as the SR92, which goes a 180 degrees. It doesn’t have a great degree of precision, but it is sufficient for our purposes. ...