Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/playground/blocks/hardware/block_iCOBOT.js
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ Entry.iCOBOT.getBlocks = function() {
setTimeout(function()
{
script.timeFlag = 0;
}, duration + 32);
}, duration + 50); // 통신중 딜레이를 고려하여 0.05초 더 기다림..
return script;
}
else if (script.timeFlag == 1)
Expand All @@ -835,12 +835,12 @@ Entry.iCOBOT.getBlocks = function() {
{
delete script.timeFlag;
delete script.isStart;
Entry.hw.sendQueue['SET'][port] =
{
type: Entry.iCOBOT.sensorTypes.TONE,
data: 0,
time: new Date().getTime(),
};
// Entry.hw.sendQueue['SET'][port] =
// {
// type: Entry.iCOBOT.sensorTypes.TONE,
// data: 0,
// time: new Date().getTime(),
// };
Entry.engine.isContinue = false;
return script.callReturn();
}
Expand Down