-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
25,359 additions
and
21,964 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
"use strict"; | ||
|
||
Entry.Codestar = { | ||
name: 'codestar', | ||
setZero: function() { | ||
Entry.hw.sendQueue.readablePorts = []; | ||
for (var port = 0; port < 20; port++) { | ||
Entry.hw.sendQueue[port] = 0; | ||
Entry.hw.sendQueue.readablePorts.push(port); | ||
} | ||
Entry.hw.update(); | ||
}, | ||
monitorTemplate: { | ||
imgPath: 'hw/codestar.png', | ||
width: 333, | ||
height: 409, | ||
listPorts: { | ||
'13':{name: '진동모터', type: 'output', pos: {x: 0, y: 0}}, | ||
'6':{name: '진동센서', type: 'input', pos: {x: 0, y: 0}}, | ||
}, | ||
ports: { | ||
'7':{name: '빨간색', type: 'output', pos: {x: 238, y: 108}}, | ||
'8':{name: '파란색', type: 'output', pos: {x: 265, y: 126}}, | ||
'9':{name: '3색 빨간색', type: 'output', pos: {x: 292, y: 34}}, | ||
'10':{name: '3색 녹색', type: 'output', pos: {x: 292, y: 34}}, | ||
'11':{name: '3색 파란색', type: 'output', pos: {x: 292, y: 34}}, | ||
'12':{name: '버튼', type: 'input', pos: {x: 248, y: 142}}, | ||
'a0':{name: '왼쪽 벽감지', type: 'input', pos: {x: 24, y: 231}}, | ||
'a2':{name: '마이크', type: 'input', pos: {x: 225, y: 67}}, | ||
'a3':{name: '부저', type: 'output', pos: {x: 283, y: 105}}, | ||
'a4':{name: '왼쪽 라인감지', type: 'input', pos: {x: 37, y: 353}}, | ||
'a5':{name: '오른쪽 라인감지', type: 'input', pos: {x: 50, y: 368}}, | ||
'a6':{name: '조도센서', type: 'input', pos: {x : 273, y: 22}}, | ||
'a7':{name: '오른쪽 벽감지', type: 'input', pos: {x: 103, y: 381}}, | ||
'temperature':{name: '온도센서', type: 'input', pos: {x: 311, y: 238}}, | ||
'sonar':{name: '초음파', type: 'input', pos: {x: 7, y: 277}}, | ||
'leftwheel':{name: '왼쪽 바퀴', type: 'output', pos: {x: 177, y: 370}}, | ||
'rightwheel':{name: '오른쪽 바퀴', type: 'output', pos: {x: 83, y: 218}}, | ||
}, | ||
mode: 'both' | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -266,3 +266,6 @@ svg .svgBlockGroup text { | |
cursor: default; | ||
} | ||
|
||
.guideGroup { | ||
opacity: 0.3; | ||
} |
Oops, something went wrong.