Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
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
Binary file added images/hw_lite/alux_nemo_lite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hw_lite/alux_proboconnect_lite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hw_lite/alux_technic_normal_lite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hw_lite/alux_technic_power_lite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hw_lite/wizwingcontrollerlite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion src/playground/blocks/hardware/block_codewiz.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,9 @@ Entry.CodeWiz.setLanguage = function() {
4.이미지 인식
5.사물 인식
6.사물 추적
7.선 + 태그`,
7.선 + 태그
8.얼굴 인식
9.숫자 인식`,
CodeWiz_OzEye_readOzEye: `오즈아이가 인식한 결과를 주기적으로 보내줍니다.`,
CodeWiz_OzEye_isLearnedOzEye: `입력한 ID 번호 데이터를 학습했다면 ‘참’으로 판단하여 알려줍니다.`,
CodeWiz_OzEye_isContainOzEye: `입력한 ID 번호의 사각형 데이터가 인식된다면 ‘참’으로 판단하여 알려줍니다.
Expand Down Expand Up @@ -3303,6 +3305,8 @@ Entry.CodeWiz.getBlocks = function() {
['5.사물 인식', '2'],
['6.사물 추적', '1'],
['7.선 + 태그', '7'],
['8.얼굴 인식', '0'],
['9.숫자 인식', '8'],
],
value: '2',
fontSize: 11,
Expand Down
94 changes: 94 additions & 0 deletions src/playground/blocks/hardware/block_elio.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ Entry.elio.setLanguage = function() {
'elio_distance_value': '거리',
'elio_line1_value': '라인1',
'elio_line2_value': '라인2',

'elio_temperature_value' : '온도',
'elio_humidity_value' : '습도',
'elio_water_value' : '수분'



},
},
en: {
Expand All @@ -112,6 +119,11 @@ Entry.elio.setLanguage = function() {
'elio_distance_value': '거리',
'elio_line1_value': '라인1',
'elio_line2_value': '라인2',

'elio_temperature_value' : '온도',
'elio_humidity_value' : '습도',
'elio_water_value' : '수분'

},
},
};
Expand All @@ -137,6 +149,10 @@ Entry.elio.blockMenuBlocks = [
'elio_distance_value',
'elio_line1_value',
'elio_line2_value',

'elio_temperature_value',
'elio_humidity_value',
'elio_water_value'


];
Expand Down Expand Up @@ -1257,6 +1273,84 @@ Entry.elio.getBlocks = function() {
return pd['LINE2'];
},
},

elio_temperature_value: {
color: '#00CFCA',
outerLine: '#04B5B0',
skeleton: 'basic_string_field',
fontColor: '#fff',
params: [
{
type: 'TextInput',
value: 0
}
],
def: {
type: 'elio_temperature_value'
},
paramsKeyMap: {
VALUE: 0
},
class: 'elio',
isNotFor: ['elio'],
func: function (sprite, script) {
//var port = Entry.elio.getDC(script.getStringField('VALUE', script));
var pd = Entry.hw.portData;
return pd["TEMPERATURE"];
}
},

elio_humidity_value: {
color: '#00CFCA',
outerLine: '#04B5B0',
skeleton: 'basic_string_field',
fontColor: '#fff',
params: [
{
type: 'TextInput',
value: 0
}
],
def: {
type: 'elio_humidity_value'
},
paramsKeyMap: {
VALUE: 0
},
class: 'elio',
isNotFor: ['elio'],
func: function (sprite, script) {
//var port = Entry.elio.getDC(script.getStringField('VALUE', script));
var pd = Entry.hw.portData;
return pd["HUMIDITY"];
}
},

elio_water_value: {
color: '#00CFCA',
outerLine: '#04B5B0',
skeleton: 'basic_string_field',
fontColor: '#fff',
params: [
{
type: 'TextInput',
value: 0
}
],
def: {
type: 'elio_water_value'
},
paramsKeyMap: {
VALUE: 0
},
class: 'elio',
isNotFor: ['elio'],
func: function (sprite, script) {
//var port = Entry.elio.getDC(script.getStringField('VALUE', script));
var pd = Entry.hw.portData;
return pd["WATER"];
}
},
};
};

Expand Down
Loading
Loading