Skip to content

Commit c20e45c

Browse files
authored
Merge pull request #3026 from entrylabs/develop-hw
[4.52.0] 엔트리 HW develop <= develop-hw
2 parents 4d79d24 + f10ecb8 commit c20e45c

File tree

6 files changed

+2610
-237
lines changed

6 files changed

+2610
-237
lines changed

images/hw/robolink_ZumiMini.png

13.4 KB
Loading
13.4 KB
Loading

src/playground/blocks/hardware/block_ITPLE_board.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ Entry.ITPLE.getBlocks = function () {
344344
type: 'ITPLE_is_key_pressed',
345345
},
346346
paramsKeyMap: {
347-
KEY: 1,
347+
KEY: 0,
348348
},
349349
"class": 'ITPLEGet',
350350
isNotFor: ['ITPLE'],
@@ -357,8 +357,8 @@ Entry.ITPLE.getBlocks = function () {
357357
'8': { type: 'DIGITAL', index: 8 },
358358
};
359359

360-
const seletedKey = script.getField('KEY');
361-
const portConfig = keyToPortMap[seletedKey];
360+
const selectedKey = script.getField('KEY');
361+
const portConfig = keyToPortMap[selectedKey];
362362

363363
// 유효하지 않은 키는 즉시 false를 반환합니다.
364364
if (!portConfig) {
@@ -376,7 +376,7 @@ Entry.ITPLE.getBlocks = function () {
376376
js: [],
377377
py: [
378378
{
379-
syntax: 'Arduino.digitalRead(%1)==0',
379+
syntax: 'Arduino.digitalRead("%1")==0',
380380
},
381381
],
382382
},
@@ -1229,4 +1229,4 @@ Entry.ITPLE.getBlocks = function () {
12291229
};
12301230
//endregion ITPLE 아두이노 확장모드
12311231

1232-
module.exports = Entry.ITPLE;
1232+
module.exports = Entry.ITPLE;

0 commit comments

Comments
 (0)