Skip to content
Merged
Show file tree
Hide file tree
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: 8 additions & 6 deletions src/playground/blocks/hardware/block_microbit2.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ Entry.Microbit2 = new (class Microbit2 {
'microbit2_screen_toggle',
'microbit2_set_led',
'microbit2_get_led',
'microbit2_show_preset_image',
'microbit2_show_custom_image',
'microbit2_show_string',
'microbit2_show_preset_image',
'microbit2_reset_screen',
'microbit2_radio_toggle',
'microbit2_radio_setting',
Expand Down Expand Up @@ -373,7 +373,7 @@ Entry.Microbit2 = new (class Microbit2 {
microbit2_screen_toggle: 'LED 기능 %1 %2',
microbit2_set_led: 'LED의 X: %1 Y: %2 를 밝기 %3 (으)로 밝히기 %4',
microbit2_get_led: 'LED의 X: %1 Y: %2 밝기 값',
microbit2_show_preset_image: 'LED를 %1 모양으로 밝히기 %2',
microbit2_show_preset_image: 'LED에 %1 모양 나타내기 %2',
microbit2_show_custom_image: 'LED %1 밝히기 %2',
microbit2_show_string: 'LED에 %1 을(를) 밝히기 %2',
microbit2_reset_screen: 'LED 모두 %1 %2',
Expand All @@ -395,7 +395,7 @@ Entry.Microbit2 = new (class Microbit2 {
microbit2_get_field_strength_axis: '%1 의 자기장 세기 값',
microbit2_get_light_level: '빛 센서 값',
microbit2_get_temperature: '온도',
microbit2_get_sound_level: '마이크 소리 크기',
microbit2_get_sound_level: '마이크 소리 크기',
microbit2_set_servo: '핀 %1 에 서보 모터 각도를 %2 로 정하기 %3',
microbit2_set_pwm: '핀 %1 에 서보 펄스 폭을 %2 %3초로 정하기 %4',
microbit2_common_title: '마이크로비트 공통',
Expand Down Expand Up @@ -589,9 +589,9 @@ Entry.Microbit2 = new (class Microbit2 {
microbit2_get_acc: 'acceleration value of %1',
microbit2_get_direction: 'compass direction',
microbit2_get_field_strength_axis: 'magnetic field strength value of %1 ',
microbit2_get_light_level: 'Light sensor value',
microbit2_get_temperature: 'temperature value',
microbit2_get_sound_level: 'microphone volume value',
microbit2_get_light_level: 'light sensor value',
microbit2_get_temperature: 'temperature',
microbit2_get_sound_level: 'microphone volume',
microbit2_set_servo: 'Set servo pin %1 angle to %2 %3',
microbit2_set_pwm: 'set servo pin %1 pulse to %2 %3 %4',
microbit2_common_title: 'Common Blocks',
Expand Down Expand Up @@ -649,6 +649,8 @@ Entry.Microbit2 = new (class Microbit2 {
unplot: 'unplot',
on: 'Turn on',
off: 'Turn off',
remove: 'Clear',
light: 'Light',
microbit_2_HEART: 'heart',
microbit_2_HEART_SMALL: 'small heart',
microbit_2_HAPPY: 'happy',
Expand Down
14 changes: 8 additions & 6 deletions src/playground/blocks/hardwareLite/block_microbit2_lite.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ const EVENT_INTERVAL = 150;
'microbit2lite_screen_toggle',
'microbit2lite_set_led',
'microbit2lite_get_led',
'microbit2lite_show_preset_image',
'microbit2lite_show_custom_image',
'microbit2lite_show_string',
'microbit2lite_show_preset_image',
'microbit2lite_reset_screen',
'microbit2lite_radio_toggle',
'microbit2lite_radio_setting',
Expand Down Expand Up @@ -413,7 +413,7 @@ const EVENT_INTERVAL = 150;
microbit2lite_screen_toggle: 'LED 기능 %1 %2',
microbit2lite_set_led: 'LED의 X: %1 Y: %2 를 밝기 %3 (으)로 밝히기 %4',
microbit2lite_get_led: 'LED의 X: %1 Y: %2 밝기 값',
microbit2lite_show_preset_image: 'LED를 %1 모양으로 밝히기 %2',
microbit2lite_show_preset_image: 'LED에 %1 모양 나타내기 %2',
microbit2lite_show_custom_image: 'LED %1 밝히기 %2',
microbit2lite_show_string: 'LED에 %1 을(를) 밝히기 %2',
microbit2lite_reset_screen: 'LED 모두 %1 %2',
Expand All @@ -435,7 +435,7 @@ const EVENT_INTERVAL = 150;
microbit2lite_get_field_strength_axis: '%1 의 자기장 세기 값',
microbit2lite_get_light_level: '빛 센서 값',
microbit2lite_get_temperature: '온도',
microbit2lite_get_sound_level: '마이크 소리 크기',
microbit2lite_get_sound_level: '마이크 소리 크기',
microbit2lite_set_servo: '핀 %1 에 서보 모터 각도를 %2 로 정하기 %3',
microbit2lite_set_pwm: '핀 %1 에 서보 펄스 폭을 %2 %3초로 정하기 %4',
microbit2lite_common_title: '마이크로비트 공통',
Expand Down Expand Up @@ -637,9 +637,9 @@ const EVENT_INTERVAL = 150;
microbit2lite_get_direction: 'compass direction',
microbit2lite_get_field_strength_axis:
'magnetic field strength value of %1 ',
microbit2lite_get_light_level: 'Light sensor value',
microbit2lite_get_temperature: 'temperature value',
microbit2lite_get_sound_level: 'microphone volume value',
microbit2lite_get_light_level: 'light sensor value',
microbit2lite_get_temperature: 'temperature',
microbit2lite_get_sound_level: 'microphone volume',
microbit2lite_set_servo: 'Set servo pin %1 angle to %2 %3',
microbit2lite_set_pwm: 'set servo pin %1 pulse to %2 %3 %4',
microbit2lite_common_title: 'Common Blocks',
Expand Down Expand Up @@ -697,6 +697,8 @@ const EVENT_INTERVAL = 150;
unplot: 'unplot',
on: 'Turn on',
off: 'Turn off',
remove: 'Clear',
light: 'Light',
microbit_2_HEART: 'heart',
microbit_2_HEART_SMALL: 'small heart',
microbit_2_HAPPY: 'happy',
Expand Down
14 changes: 8 additions & 6 deletions src/playground/blocks/hardwareLite/block_microbit2ble_lite.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,9 @@ const convertPresetImageToLedState = (preset) => {
'microbit2blelite_screen_toggle',
'microbit2blelite_set_led',
'microbit2blelite_get_led',
'microbit2blelite_show_preset_image',
'microbit2blelite_show_custom_image',
'microbit2blelite_show_string',
'microbit2blelite_show_preset_image',
'microbit2blelite_reset_screen',

// 'microbit2blelite_radio_toggle',
Expand Down Expand Up @@ -484,7 +484,7 @@ const convertPresetImageToLedState = (preset) => {
microbit2blelite_screen_toggle: 'LED 기능 %1 %2',
microbit2blelite_set_led: 'LED의 X: %1 Y: %2 를 밝기 %3 (으)로 밝히기 %4',
microbit2blelite_get_led: 'LED의 X: %1 Y: %2 밝기 값',
microbit2blelite_show_preset_image: 'LED를 %1 모양으로 밝히기 %2',
microbit2blelite_show_preset_image: 'LED에 %1 모양 나타내기 %2',
microbit2blelite_show_custom_image: 'LED %1 밝히기 %2',
microbit2blelite_show_string: 'LED에 %1 을(를) 밝히기 %2',
microbit2blelite_reset_screen: 'LED 모두 %1 %2',
Expand All @@ -506,7 +506,7 @@ const convertPresetImageToLedState = (preset) => {
microbit2blelite_get_field_strength_axis: '%1 의 자기장 세기 값',
microbit2blelite_get_light_level: '빛 센서 값',
microbit2blelite_get_temperature: '온도',
microbit2blelite_get_sound_level: '마이크 소리 크기',
microbit2blelite_get_sound_level: '마이크 소리 크기',
microbit2blelite_set_servo: '핀 %1 에 서보 모터 각도를 %2 로 정하기 %3',
microbit2blelite_set_pwm: '핀 %1 에 서보 펄스 폭을 %2 %3초로 정하기 %4',
microbit2blelite_common_title: '마이크로비트 공통',
Expand Down Expand Up @@ -712,9 +712,9 @@ const convertPresetImageToLedState = (preset) => {
microbit2blelite_get_direction: 'compass direction',
microbit2blelite_get_field_strength_axis:
'magnetic field strength value of %1 ',
microbit2blelite_get_light_level: 'Light sensor value',
microbit2blelite_get_temperature: 'temperature value',
microbit2blelite_get_sound_level: 'microphone volume value',
microbit2blelite_get_light_level: 'light sensor value',
microbit2blelite_get_temperature: 'temperature',
microbit2blelite_get_sound_level: 'microphone volume',
microbit2blelite_set_servo: 'Set servo pin %1 angle to %2 %3',
microbit2blelite_set_pwm: 'set servo pin %1 pulse to %2 %3 %4',
microbit2blelite_common_title: 'Common Blocks',
Expand Down Expand Up @@ -772,6 +772,8 @@ const convertPresetImageToLedState = (preset) => {
unplot: 'unplot',
on: 'Turn on',
off: 'Turn off',
remove: 'Clear',
light: 'Light',
microbit_2_HEART: 'heart',
microbit_2_HEART_SMALL: 'small heart',
microbit_2_HAPPY: 'happy',
Expand Down
Loading