Skip to content

Commit

Permalink
Merge pull request #15 from oroca/develop
Browse files Browse the repository at this point in the history
라인트페이서 예제 모터 회전 방향 변경
  • Loading branch information
hancheol-cho authored Apr 3, 2019
2 parents e087bf5 + 5b1a332 commit 01b14f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/EduBot_Main/src/LineTrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void linetrace_loop() {
edubot.lcd.fillRect(11 + 32*i, 64-sen[i], 10, sen[i], WHITE);
}

line_pos = (sen[1]-sen[2])/1;
line_pos = (sen[2]-sen[1])/1;

edubot.lcd.fillRect(64- 5 + line_pos, 4, 10, 4, WHITE);

Expand Down
2 changes: 1 addition & 1 deletion examples/Floor/LineTrace/LineTrace.ino
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void loop() {
edubot.lcd.fillRect(11 + 32*i, 64-sen[i], 10, sen[i], WHITE);
}

line_pos = (sen[1]-sen[2])/1;
line_pos = (sen[2]-sen[1])/1;

edubot.lcd.fillRect(64- 5 + line_pos, 4, 10, 4, WHITE);

Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=OROCA-EduBot
version=0.1.1
version=0.1.2
author=OROCA
license=Apache-2.0
maintainer=Baram([email protected])
Expand Down

0 comments on commit 01b14f5

Please sign in to comment.