Skip to content

Commit 102078c

Browse files
author
Kei
committed
Update README
1 parent e6096c1 commit 102078c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
# Dynamixel2Arduino [![Build Status](https://travis-ci.org/ROBOTIS-GIT/Dynamixel2Arduino.svg?branch=master)](https://travis-ci.org/ROBOTIS-GIT/Dynamixel2Arduino/branches)
22

3+
## Serial and Direction Pin definitions by board
4+
- The examples default to pins based on DynamixelShield. Therefore, when using hardware other than DynamixelShield (eg OpenCM9.04, OpenCR, Custom DXL boards), you need to change the Serial and Direction Pin.
5+
- We provide the information below to make it easier to define Serial and Direction pins for specific hardware.
6+
7+
|Board Name|Serial|Direction Pin|Note|
8+
|:-:|:-:|:-:|:-:|
9+
|OpenCM9.04|Serial1|28|because of the OpenCM 9.04 driver code, you must call Serial1.setDxlMode(true); before dxl.begin();.|
10+
|OpenCM9.04 EXP|Serial3|22||
11+
|OpenCR|Serial3|84||
12+
313
## How to add new DYNAMIXEL model.
414
- For the convenience of the user, Dynamixel2Arduino API hardcodes some information in the control table and stores it in flash.
515
- To do this, you need to add code to some files. In this regard, please refer to [PR#3](https://github.com/ROBOTIS-GIT/Dynamixel2Arduino/pull/3) and [PR#7](https://github.com/ROBOTIS-GIT/Dynamixel2Arduino/pull/7)
616

17+
## How to create custom PortHandler Class
18+
- Please refer to [port_handler.h](https://github.com/ROBOTIS-GIT/Dynamixel2Arduino/blob/master/src/utility/port_handler.h)
19+
- Create a new class by inheriting PortHandler as public. (Like SerialPortHandler and USBSerialPortHandler)
720

821
## TODO
922
- Separation of protocol codes (protocol, packet handler)

0 commit comments

Comments
 (0)