Skip to content

Commit b160b51

Browse files
committed
Correct the incorrect description of the example program
1 parent af6e850 commit b160b51

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

examples/ex05.IR_RemoteControl_RubberWheel_4WD/ex05.IR_RemoteControl_RubberWheel_4WD.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ---------------------------------------------------------------------------
22
// Created by Coding Array - we@CodingArray.cc
33
// Copyright 2024 License: GNU GPL v3 http://www.gnu.org/licenses/gpl-3.0.html
4-
// IR RemoteControl Example for 4WD Rubber Wheel
4+
// IR Remote Control Example for 4WD Rubber Wheel
55
// ---------------------------------------------------------------------------
66

77
#include <CA_MotorShield.h>
@@ -42,7 +42,6 @@ uint16_t controlSpeed = 70; // 모터의 초기 제어 속도를 70으로 설정
4242
#define ALTERNATIVE_IR_FEEDBACK_LED_PIN 13 // 수신되는 IR 신호 피드백을 아두이노의 핀 번호 13번으로 설정합니다. LED 출력.
4343

4444
// NEC 프로토콜 기반 코딩어레이 IR 리모컨 명령 코드 목록
45-
// NEC (Near End Crosstalk)
4645
// NEC 프로토콜 코드 예시: 0x00FF45BA
4746
//-----------------------------------------------------
4847
// 이 구조는 4부분으로 나뉘어져 있습니다:

examples/ex06.IR_RemoteControl_MecanumWheel_4WD/ex06.IR_RemoteControl_MecanumWheel_4WD.ino

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ---------------------------------------------------------------------------
22
// Created by Coding Array - we@CodingArray.cc
33
// Copyright 2024 License: GNU GPL v3 http://www.gnu.org/licenses/gpl-3.0.html
4-
// IR RemoteControl Example for 4WD Mecanum Wheel
4+
// IR Remote Control Example for 4WD Mecanum Wheel
55
// ---------------------------------------------------------------------------
66

77
#include <CA_MotorShield.h>
@@ -52,7 +52,6 @@ uint16_t controlSpeed = 70; // 모터의 초기 제어 속도를 70으로 설정
5252
#define ALTERNATIVE_IR_FEEDBACK_LED_PIN 13 // 수신되는 IR 신호 피드백을 아두이노의 핀 번호 13번으로 설정합니다. LED 출력.
5353

5454
// NEC 프로토콜 기반 코딩어레이 IR 리모컨 명령 코드 목록
55-
// NEC (Near End Crosstalk)
5655
// NEC 프로토콜 코드 예시: 0x00FF45BA
5756
//-----------------------------------------------------
5857
// 이 구조는 4부분으로 나뉘어져 있습니다:
@@ -286,7 +285,7 @@ void setMotorsDirection(uint8_t direction, uint16_t speed) {
286285
motor4->run(BACKWARD);
287286
setMotorsSpeed(speed); // 지정된 속도로 모터의 속도를 조절합니다.
288287
} else if (direction == CMD_CURVED_LEFT) {
289-
// 곡선 이동 좌측 명령을 받으면 1번과 2번 모터를 앞으로 설정, 3번과 4번 모터는 정지 상태를 유지합니다.
288+
// 좌측 곡선 이동 명령을 받으면 1번과 2번 모터를 앞으로 설정, 3번과 4번 모터는 정지 상태를 유지합니다.
290289
motor1->run(FORWARD);
291290
motor2->run(FORWARD);
292291
motor3->run(RELEASE);
@@ -296,7 +295,7 @@ void setMotorsDirection(uint8_t direction, uint16_t speed) {
296295
//motor3->setSpeed(0);
297296
//motor4->setSpeed(0);
298297
} else if (direction == CMD_CURVED_RIGHT) {
299-
// 곡선 이동 우측 명령을 받으면 3번과 4번 모터를 앞으로 설정, 1번과 2번 모터는 정지 상태를 유지합니다.
298+
// 우측 곡선 이동 명령을 받으면 3번과 4번 모터를 앞으로 설정, 1번과 2번 모터는 정지 상태를 유지합니다.
300299
motor1->run(RELEASE);
301300
motor2->run(RELEASE);
302301
motor3->run(FORWARD);
@@ -306,7 +305,7 @@ void setMotorsDirection(uint8_t direction, uint16_t speed) {
306305
motor3->setSpeed(speed); // 지정된 속도로 3번 모터의 속도를 조절합니다.
307306
motor4->setSpeed(speed); // 지정된 속도로 4번 모터의 속도를 조절합니다.
308307
} else if (direction == CMD_LATERAL_ARC_LEFT) {
309-
// 측면 아크 이동 좌측 명령을 받으면 1번 모터를 앞으로, 4번 모터를 뒤로 설정, 2번과 3번 모터는 정지 상태를 유지합니다.
308+
// 좌측 아크 이동 명령을 받으면 1번 모터를 앞으로, 4번 모터를 뒤로 설정, 2번과 3번 모터는 정지 상태를 유지합니다.
310309
motor1->run(FORWARD);
311310
motor2->run(RELEASE);
312311
motor3->run(RELEASE);
@@ -316,7 +315,7 @@ void setMotorsDirection(uint8_t direction, uint16_t speed) {
316315
//motor3->setSpeed(0);
317316
motor4->setSpeed(speed); // 지정된 속도로 4번 모터의 속도를 조절합니다.
318317
} else if (direction == CMD_LATERAL_ARC_RIGHT) {
319-
// 측면 아크 이동 우측 명령을 받으면 1번 모터를 뒤로, 4번 모터를 앞으로 설정, 2번과 3번 모터는 정지 상태를 유지합니다.
318+
// 우측 아크 이동 명령을 받으면 1번 모터를 뒤로, 4번 모터를 앞으로 설정, 2번과 3번 모터는 정지 상태를 유지합니다.
320319
motor1->run(BACKWARD);
321320
motor2->run(RELEASE);
322321
motor3->run(RELEASE);

0 commit comments

Comments
 (0)