https://www.denshi.club/parts/2020/11/gpiozero1import-led.html :: gpiozero intro
from gpiozero import LED
from time import sleep,time
led = LED(17)
timeStart=time()
while True:
led.on()
sleep(1)
led.off()
sleep(1)
print('time:{0:.3f}'.format(time()-timeStart))
-----------------------------------------------------------------------------------
https://kats-eye.net/info/2020/05/02/neopixel-2/ :: neopixel
--------------------------------------------------------------------------
https://www.souichi.club/raspberrypi/temperature-and-humidity/ :: dht11
0 件のコメント:
コメントを投稿