https://shumeipai.nxez.com/
https://projects.raspberrypi.org/en/pathways/getting-started-with-raspberry-pi
gpiozero库:https://gpiozero.readthedocs.io/en/stable/
from gpiozero import LED from time import sleep led=LED(25) while True: led.on() sleep(1) led.off() sleep(1)
来源:https://www.cnblogs.com/holaworld/p/12417334.html