
--- TEST
+++ TEST
... | ... | @@ -1,7 +1,7 @@ |
1 |
-#test motor with arduino, check hallsensor |
|
1 |
+//test motor with arduino, check hallsensor |
|
2 | 2 |
|
3 |
-## test run motor with arduino |
|
4 |
-''' |
|
3 |
+// test run motor with arduino |
|
4 |
+ |
|
5 | 5 |
const int PWM = 10; // MD200T 6번 (SPEED_IN2) 노랑 |
6 | 6 |
const int DIR = 8; // MD200T 2번 (DIR2) 주황 |
7 | 7 |
const int ST = 9; // MD200T 4번 (START/STOP2) 초록 |
... | ... | @@ -33,11 +33,11 @@ |
33 | 33 |
// digitalWrite(ST, HIGH); |
34 | 34 |
// delay(4000); |
35 | 35 |
} |
36 |
-''' |
|
37 | 36 |
|
38 |
-## check hallsensor |
|
39 | 37 |
|
40 |
-''' |
|
38 |
+// check hallsensor |
|
39 |
+ |
|
40 |
+ |
|
41 | 41 |
// 홀센서 핀 번호 |
42 | 42 |
const int Hu = 4; |
43 | 43 |
const int Hv = 3; |
... | ... | @@ -72,5 +72,4 @@ |
72 | 72 |
Serial.print(" | Hw: "); Serial.println(hw); |
73 | 73 |
|
74 | 74 |
delay(200); // 0.2초 간격 출력 |
75 |
-} |
|
76 |
-'''(파일 끝에 줄바꿈 문자 없음) |
|
75 |
+}(파일 끝에 줄바꿈 문자 없음) |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?