công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

104020002 bảng dữ liệu(PDF) 10 Page - Seeed Technology Co.,Ltd.

tên linh kiện 104020002
Giải thích chi tiết về linh kiện  Grove - Red LED
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  SEEEDSTUDIO [Seeed Technology Co.,Ltd.]
Trang chủ  https://www.seeedstudio.com/
Logo SEEEDSTUDIO - Seeed Technology Co.,Ltd.

104020002 bảng dữ liệu(HTML) 10 Page - Seeed Technology Co.,Ltd.

Back Button 104020002 Datasheet HTML 6Page - Seeed Technology Co.,Ltd. 104020002 Datasheet HTML 7Page - Seeed Technology Co.,Ltd. 104020002 Datasheet HTML 8Page - Seeed Technology Co.,Ltd. 104020002 Datasheet HTML 9Page - Seeed Technology Co.,Ltd. 104020002 Datasheet HTML 10Page - Seeed Technology Co.,Ltd. 104020002 Datasheet HTML 11Page - Seeed Technology Co.,Ltd. 104020002 Datasheet HTML 12Page - Seeed Technology Co.,Ltd. 104020002 Datasheet HTML 13Page - Seeed Technology Co.,Ltd. 104020002 Datasheet HTML 14Page - Seeed Technology Co.,Ltd. Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 17 page
background image
7/23/22, 9:41 PM
Grove - Red LED - Seeed Wiki
https://wiki.seeedstudio.com/Grove-Red_LED/
10/17
Play With Raspberry Pi (with GrovePi_Plus)
Hardware
Step 1. Prepare the below stuffs:
20
import time
21
22
if len(sys.argv) < 2:
23
print('Usage: {} pin'.format(sys.argv[0]))
24
sys.exit(1)
25
26
led = GroveLed(int(sys.argv[1]))
27
28
while True:
29
led.on()
30
time.sleep(1)
31
led.off()
32
time.sleep(1)
33
34
35 if __name__ == '__main__':
36
main()
Success
If everything goes well, you will be able to see the led on and off.
Attention
For most of the grove modules, you need to add the pin number parameter,
as in this example python3 grove_led.py 12 , 12 is the chosen GPIO pin
and the output from pin 12 will feed the led.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com