| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
DFR0604 Datasheet(PDF) 7 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0604 Datasheet(HTML) 7 Page - DFROBOT |
|
7 / 13 page ![]() Tutorial Connection Plug the IO expansion board into Raspberry Pi. Download the Driver library To use the analog and PWM ports in the board, download the driver library first. Press Ctrl+Alt+T to open the terminal, input the following command and hit Enter. git clone https://github.com/DFRobot/DFRobot_RaspberryPi_Expansion_Board.git Download the library and unzip the file. Input the following command into the terminal: tar -xvzf DFRobot_RaspberryPi_Expansion_Board Enter the directory of the uncompressed files: cd DFRobot_RaspberryPi_Expansion_Board/raspberry/ Extended Ports Usage • PWM: connect a servo to PWM P0. Create a file via the command of nano: sudo nano servoTest.py Add the following content: # -*- coding:utf-8 -*- # servoTest.py import time from DFRobot_RaspberryPi_Expansion_Board import DFRobot_Expansion_Board_IIC as Board from DFRobot_RaspberryPi_Expansion_Board import DFRobot_Expansion_Board_Servo as Servo board = Board(1, 0x10) # Select i2c bus 1, set address to 0x10 |
|
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |