| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
DFR0604 bảng dữ liệu(PDF) 7 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0604 bảng dữ liệu(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 |
|
|
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 |
| 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 |