2.led 没啥新的东西 就是GPIO操作 3.key 可以设置中断方式的来实现GPIO操作 wiringPiISR(gpio_num, rise/fall_edge, isr_server_addr) 4. gpio load i2c时候出现问题 gpio: Unable to load/unload modules as this Pi has the device tree enabled. You need to run the raspi-config program (as root