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