| 전자부품 데이터시트 검색엔진 |
|
DFR0604 데이터시트(PDF) 11 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0604 데이터시트(HTML) 11 Page - DFROBOT |
|
11 / 13 page ![]() import RPi.GPIO as GPIO import time blinkPin = 16 GPIO.setmode(GPIO.BCM) GPIO.setup(blinkPin, GPIO.OUT) # Set GPIO16 is OUTPUT for i in range(0, 10): GPIO.output(blinkPin, 1) time.sleep(1) GPIO.output(blinkPin, 0) time.sleep(1) GPIO.cleanup() • IIC: for using IIC interface, input the command to enable the Raspberry Pi IIC first: sudo raspi-config Select [Interfacing Options]-[I2C]-[Yes]-[OK]-[Finish]. Restart the Raspberry Pi when completed these steps. The usage of IIC ports on the expansion board is same with that of raspberry Pi, so we will skip here. • UART: The usage of UART ports on the expansion board is same with that of raspberry Pi, so we will skip here. • SPI: for using SPI interface, input the command to enable the Raspberry Pi IIC first: sudo raspi-config Select [Interfacing Options]-[I2C]-[Yes]-[OK]-[Finish].Restart the Raspberry Pi when completed these steps. The usage of SPI ports on the expansion board is same with that of raspberry Pi, so we will skip here. |
|
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |