SunFounder PiDog Kit, Release 1.0
5. Configure the remaining
3
,
4
,
5
,
6
,
7
,
8
servos in turn, and calibrate all four feet .
2.2.2 Wake Up
This is PiDog’s first project. It will wake your PiDog from a deep sleep.
Run the Code
cd
/
home
/
pi
/
pidog
/
examples
sudo python3
1
_wakeup
.
py
After the code is executed, PiDog will perform the following actions in sequence:
Stretch, twist, sit, wag its tail, pant.
Code
Note:
You can
Modify/Reset/Copy/Run/Stop
the code below. But before that, you need to go to source code path
like
pidog\examples
. After modifying the code, you can run it directly to see the effect.
2.2. Funny Project
47
Содержание PiDog
Страница 1: ...SunFounder PiDog Kit Release 1 0 sunfounder Jan 09 2023 ...
Страница 2: ......
Страница 4: ...ii ...
Страница 6: ...SunFounder PiDog Kit Release 1 0 Content 2 CONTENTS ...
Страница 8: ...SunFounder PiDog Kit Release 1 0 4 Chapter 1 Component List and Assembly Instructions ...
Страница 15: ...SunFounder PiDog Kit Release 1 0 Step 7 Click the WRITE button 2 1 Quick Guide on Python 11 ...
Страница 92: ...SunFounder PiDog Kit Release 1 0 88 Chapter 2 Play with Python ...
Страница 108: ...SunFounder PiDog Kit Release 1 0 104 Chapter 4 Appendix ...