| Electronic Components Datasheet Search |
|
DFR0604 Datasheet(PDF) 11 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0604 Datasheet(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. |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |