📒
Loongbian
  • Loongbian 操作系统
  • 系统
    • 安装指南
    • 安装本地 GCC 编译器
    • 安装交叉 GCC 编译器
    • 定制 Linux 内核:交叉编译
    • 更新 PMON 固件(危险)
  • IO
    • Loongpio 库
    • Adafruit Blinka 库
      • 安装
      • 引脚命名
      • 样例程序
        • 板载 GPIO 输出:有源蜂鸣器
        • 板载 GPIO 输出:闪烁 LED 灯
        • 板载 GPIO 输入:按钮模块
        • 板载 GPIO:HC-SR04 超声波传感器
        • 板载 PWM:呼吸灯
        • PCA9685 PWM:舵机
        • 板载 I2C:PN532 RFID 模块
Powered by GitBook
On this page
  • 更新 Linux 内核
  • 安装 Adafruit Blinka

Was this helpful?

  1. IO
  2. Adafruit Blinka 库

安装

更新 Linux 内核

$ su -
$ echo 'deb https://mirrors.teach.com.cn/loongbian-experimental buster main' >> /etc/apt/sources.list
$ apt update
$ apt upgrade
$ reboot

安装 Adafruit Blinka

$ su -
$ apt install python3-adafruit-blinka

PreviousAdafruit Blinka 库Next引脚命名

Last updated 4 years ago

Was this helpful?