Update README.md
This commit is contained in:
parent
94a02142b4
commit
b3963beb87
34
README.md
34
README.md
@ -121,3 +121,37 @@ The table below shows the difference between this project and the original one.
|
||||
<img src="./imgs/diagram.svg" alt="diagram" width="800"/>
|
||||
|
||||
## Software
|
||||
|
||||
### Raspberry Pi
|
||||
|
||||
#### Requirements
|
||||
|
||||
Raspberry Pi is running [`Raspberry Pi OS`](https://www.raspberrypi.com/software/).
|
||||
|
||||
- Enable `I2C` by using
|
||||
|
||||
``` bash
|
||||
sudo raspi-config
|
||||
```
|
||||
|
||||
- Install required packages
|
||||
|
||||
``` bash
|
||||
sudo apt-get install python3-numpy python3-pip
|
||||
```
|
||||
|
||||
- Install required Python modules
|
||||
|
||||
``` bash
|
||||
pip3 install adafruit-circuitpython-servokit
|
||||
```
|
||||
|
||||
>> Tips: It is convenient to debug code on Raspberry Pi through VSCode's remote feature.
|
||||
|
||||
#### Running
|
||||
|
||||
The hexapod program, located under `./software/raspberry pi/` is written in Python. Use the following command to start it manually.
|
||||
|
||||
``` bash
|
||||
python3 hexapod.py
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user