SunFounder pisloth
Press the key SPACE to print the angle of the 4 servos at this time. You need to record these angle values, which will
be used in the next project Custom Action.
Code
Note: You can Modify/Reset/Copy/Run/Stop the code below. But before that, you need to go to source code path
like pisloth\examples. After modifying the code, you can run it directly to see the effect.
from pisloth import Sloth
# from robot_hat import Music
(continues on next page)
96 Chapter 4. Play with Python