Secondary development of a humanoid robot

First, the environment configuration

1. Remote Connection

Server VNC
2. File Transfer

Winscp

sudo apt-get update update source
sudo apt-get upgrade installed updates package
two, the program code

1.MPU6050

mpu6050 read the code: https://www.basemu.com/reading-data-from-the-mpu-6050-on-the-raspberry-pi-for-python.html

bus = smbus.SMBus(0) # or bus = smbus.SMBus(1) for Revision 2 boards

IIC communication rate modification: https://blog.csdn.net/xukai871105/article/details/18234075

 

Guess you like

Origin www.cnblogs.com/knightningwing/p/11736723.html