关于I2C,,,

查看设备:sudo i2cdetect 0
git clone https://github.com/bpiq/MikuPi.git
cd MikuPi
make
问题:gcc: error trying to exec 'cc1plus': execvp: No such file or directory
sudo apt-get install g++
make
问题:error: cast from ‘volatile long int*’ to ‘unsigned int’ loses precision [-fpermissive]
vi makefile
CFLAGS := -fPIC -fpermissive
make
sudo make install
cd examples/
make clean
make
./blink
问题:Your Pi has an unknown model type. Please report this to
i@mikuq.com
-> with a copy of your /proc/cpuinfo if possible
-> You may want to check:
-> http://MikuQ.com
sudo i2cdetect -y -a 0

https://www.amobbs.com/thread-5557119-1-1.html?_dsign=9e24cd06

标签: none

添加新评论