Skip to content

Commit 635380e

Browse files
committed
add openrb example
Signed-off-by: ROBOTIS-Will <[email protected]>
1 parent b745e7f commit 635380e

File tree

34 files changed

+34
-34
lines changed

34 files changed

+34
-34
lines changed

examples/advanced/DEPRECATED_bulk_read_write_raw/DEPRECATED_bulk_read_write_raw.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#define DXL_SERIAL Serial3
4646
#define DEBUG_SERIAL Serial
4747
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
48-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
48+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4949
//OpenRB does not require the DIR control pin.
5050
#define DXL_SERIAL Serial1
5151
#define DEBUG_SERIAL Serial

examples/advanced/DEPRECATED_sync_bulk_raw/DEPRECATED_sync_bulk_raw.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#define DXL_SERIAL Serial3
4646
#define DEBUG_SERIAL Serial
4747
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
48-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
48+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4949
//OpenRB does not require the DIR control pin.
5050
#define DXL_SERIAL Serial1
5151
#define DEBUG_SERIAL Serial

examples/advanced/DEPRECATED_sync_read_write_raw/DEPRECATED_sync_read_write_raw.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#define DXL_SERIAL Serial3
4646
#define DEBUG_SERIAL Serial
4747
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
48-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
48+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4949
//OpenRB does not require the DIR control pin.
5050
#define DXL_SERIAL Serial1
5151
#define DEBUG_SERIAL Serial

examples/advanced/add_custom_SerialPortHandler/add_custom_SerialPortHandler.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/advanced/bulk_read_write_raw/bulk_read_write_raw.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/advanced/fast_sync_read/fast_sync_read.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
#define DXL_SERIAL Serial3
4444
#define DEBUG_SERIAL Serial
4545
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
46-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
46+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4747
//OpenRB does not require the DIR control pin.
4848
#define DXL_SERIAL Serial1
4949
#define DEBUG_SERIAL Serial

examples/advanced/operating_mode_advanced/operating_mode_advanced.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/advanced/read_write_ControlTableItem/read_write_ControlTableItem.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
#define DXL_SERIAL Serial3
141141
#define DEBUG_SERIAL Serial
142142
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
143-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
143+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
144144
//OpenRB does not require the DIR control pin.
145145
#define DXL_SERIAL Serial1
146146
#define DEBUG_SERIAL Serial

examples/advanced/slave/slave.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/advanced/slave_callback/slave_callback.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/advanced/sync_read_write_position/sync_read_write_position.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
#define DXL_SERIAL Serial3
5050
#define DEBUG_SERIAL Serial
5151
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
52-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
52+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
5353
//OpenRB does not require the DIR control pin.
5454
#define DXL_SERIAL Serial1
5555
#define DEBUG_SERIAL Serial

examples/advanced/sync_read_write_velocity/sync_read_write_velocity.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/basic/baudrate/baudrate.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/basic/copy_eeprom_x/copy_eeprom_x.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/basic/current_mode/current_mode.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/basic/current_position_mode/current_position_mode.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#define DXL_SERIAL Serial3
4646
#define DEBUG_SERIAL Serial
4747
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
48-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
48+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4949
//OpenRB does not require the DIR control pin.
5050
#define DXL_SERIAL Serial1
5151
#define DEBUG_SERIAL Serial

examples/basic/id/id.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/basic/led/led.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/basic/operation_mode/operation_mode.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
#define DXL_SERIAL Serial3
5252
#define DEBUG_SERIAL Serial
5353
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
54-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
54+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
5555
//OpenRB does not require the DIR control pin.
5656
#define DXL_SERIAL Serial1
5757
#define DEBUG_SERIAL Serial

examples/basic/ping/ping.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/basic/position_mode/position_mode.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/basic/profile_velocity_acceleration/profile_velocity_acceleration.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#define DXL_SERIAL Serial3
4747
#define DEBUG_SERIAL Serial
4848
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
49-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
49+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
5050
//OpenRB does not require the DIR control pin.
5151
#define DXL_SERIAL Serial1
5252
#define DEBUG_SERIAL Serial

examples/basic/pwm_mode/pwm_mode.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/basic/scan_dynamixel/scan_dynamixel.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/basic/torque/torque.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#define DXL_SERIAL Serial3
4646
#define DEBUG_SERIAL Serial
4747
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
48-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
48+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4949
//OpenRB does not require the DIR control pin.
5050
#define DXL_SERIAL Serial1
5151
#define DEBUG_SERIAL Serial

examples/basic/velocity_mode/velocity_mode.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/blender/openmanipulator_x/openmanipulator_x.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
#define DXL_SERIAL Serial3
5151
#define DEBUG_SERIAL Serial
5252
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
53-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
53+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
5454
//OpenRB does not require the DIR control pin.
5555
#define DXL_SERIAL Serial1
5656
#define DEBUG_SERIAL Serial

examples/dynamixel_protocol/factory_reset/factory_reset.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/dynamixel_protocol/ping/ping.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/dynamixel_protocol/read_ax_mx/read_ax_mx.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/dynamixel_protocol/read_x/read_x.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/dynamixel_protocol/reboot/reboot.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/dynamixel_protocol/write_ax_mx/write_ax_mx.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

examples/dynamixel_protocol/write_x/write_x.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define DXL_SERIAL Serial3
4242
#define DEBUG_SERIAL Serial
4343
const uint8_t DXL_DIR_PIN = 84; // OpenCR Board's DIR PIN.
44-
#elif defined(ARDUINO_OpenRB) // When using official ROBOTIS OpenCM-X MKR board.
44+
#elif defined(ARDUINO_OpenRB) // When using OpenRB-150
4545
//OpenRB does not require the DIR control pin.
4646
#define DXL_SERIAL Serial1
4747
#define DEBUG_SERIAL Serial

0 commit comments

Comments
 (0)