File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/playground/blocks/hardware Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments