Serial (#554)
This commit is contained in:
parent
5ea99574fc
commit
d91da281fd
@ -332,11 +332,12 @@ namespace pxt.editor {
|
|||||||
if (d.reportError) {
|
if (d.reportError) {
|
||||||
d.reportError(Util.lf("Please connect your device."))
|
d.reportError(Util.lf("Please connect your device."))
|
||||||
} else {
|
} else {
|
||||||
console.error(e)
|
pxt.reportException(e)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
saveHexAsync()
|
return saveHexAsync()
|
||||||
}
|
}
|
||||||
|
return Promise.resolve()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -203,6 +203,11 @@
|
|||||||
"serial": {
|
"serial": {
|
||||||
"nameFilter": "^mbed Serial Port",
|
"nameFilter": "^mbed Serial Port",
|
||||||
"log": true,
|
"log": true,
|
||||||
|
"useEditor": true,
|
||||||
|
"editorTheme": {
|
||||||
|
"graphBackground": "#d9d9d9",
|
||||||
|
"lineColors": ["#6633cc", "#3891A6", "#3454D1", "#EF767A", "#F46197", "#107C10"]
|
||||||
|
},
|
||||||
"chromeExtension": "hjcflblhjoglmjjkecamiegdigfkgeni",
|
"chromeExtension": "hjcflblhjoglmjjkecamiegdigfkgeni",
|
||||||
"vendorId": "0x0d28",
|
"vendorId": "0x0d28",
|
||||||
"productId": "0x0204",
|
"productId": "0x0204",
|
||||||
|
@ -67,3 +67,10 @@
|
|||||||
|
|
||||||
@blocklyToolboxColor: rgba(0, 0, 0, 0.05);
|
@blocklyToolboxColor: rgba(0, 0, 0, 0.05);
|
||||||
@trashIconColor: @primaryColor;
|
@trashIconColor: @primaryColor;
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Serial
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
@serialTextColor: black;
|
||||||
|
@serialGraphBackground: #d9d9d9;
|
Loading…
Reference in New Issue
Block a user