分类 raspberrypi 中的文章

树莓派4B学习二 GPIO

Pioneer600 LED1(D1) 的控制

通过控制gpio的设备文件的读写来控制LED1(物理 37 脚,BCM 26 脚)

DigitalPinner是对GPIO的基本抽象,其实现以下接口:

type DigitalPinner interface {
    // Export exports the pin for use by the …

阅读全文

树莓派supervisord使用

树莓派supervisord使用

supervisord 安装

sudo apt-get install supervisor vim -y
sudo systemctl enable supervisor # 开机自启动
sudo systemctl restart supervisor
sudo systemctl status supervisor …

阅读全文