diff --git a/app.ts b/app.ts index c164440..d00b0d5 100644 --- a/app.ts +++ b/app.ts @@ -24,7 +24,7 @@ namespace microcode { datalogger.includeTimestamp(FlashLogTimeStampFormat.None) - const arcadeShieldConnected = screenhelpers.displayPresent(); + const arcadeShieldConnected = shieldhelpers.shieldPresent(); if (arcadeShieldConnected) this.pushScene(new Home(this)) else diff --git a/main.ts b/main.ts index 291ded0..27ee3e3 100644 --- a/main.ts +++ b/main.ts @@ -1 +1,2 @@ -new microcode.App(); \ No newline at end of file +new microcode.App() + diff --git a/pxt.json b/pxt.json index 65a2252..36bbd4d 100644 --- a/pxt.json +++ b/pxt.json @@ -7,7 +7,7 @@ "radio": "*", "microphone": "*", "datalogger": "*", - "pxt-arcadeshield": "github:microsoft/pxt-arcadeshield#v0.1.4", + "pxt-arcadeshield": "github:microsoft/pxt-arcadeshield#v0.1.7", "jacdac": "github:microsoft/pxt-jacdac#v1.9.28", "jacdac-light-level": "github:microsoft/pxt-jacdac/light-level#v1.9.28", "jacdac-soil-moisture": "github:microsoft/pxt-jacdac/soil-moisture#v1.9.28", @@ -54,10 +54,11 @@ ], "testFiles": [], "targetVersions": { - "target": "7.1.2", + "target": "7.1.13", "targetId": "microbit" }, "supportedTargets": [ "microbit" - ] + ], + "preferredEditor": "tsprj" }