зеркало из https://github.com/microsoft/pxt-ml4f.git
Build fixes
This commit is contained in:
Родитель
730d81e55c
Коммит
5c646c8a7d
4
pxt.json
4
pxt.json
|
@ -18,7 +18,9 @@
|
|||
"testDependencies": {
|
||||
"core": "*",
|
||||
"settings": "*",
|
||||
"jacdac": "github:microsoft/pxt-jacdac#v0.5.0"
|
||||
"jacdac": "github:microsoft/pxt-jacdac#v0.5.1",
|
||||
"jacdac-model-runner": "github:microsoft/pxt-jacdac/model-runner#v0.5.1",
|
||||
"jacdac-sensor-aggregator": "github:microsoft/pxt-jacdac/sensor-aggregator#v0.5.1"
|
||||
},
|
||||
"testFiles": [
|
||||
"test.ts"
|
||||
|
|
4
test.ts
4
test.ts
|
@ -2,13 +2,13 @@ namespace userconfig {
|
|||
}
|
||||
|
||||
console.addListener((pri, txt) => control.dmesg("C: " + txt.slice(0, -1)))
|
||||
jacdac.consolePriority = ConsolePriority.Log
|
||||
jacdac.logPriority = ConsolePriority.Log
|
||||
|
||||
control.dmesg("Hello")
|
||||
|
||||
pins.A9.digitalWrite(false)
|
||||
|
||||
jacdac.deviceNamer.start()
|
||||
jacdac.roleManagerServer.start()
|
||||
jacdac.ml4fHost.start()
|
||||
|
||||
jacdac.start()
|
||||
|
|
Загрузка…
Ссылка в новой задаче