Skip to content

Commit

Permalink
Update pxt.json, main.ts, app.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tballmsft committed Oct 12, 2024
1 parent 01b0a47 commit 434cf18
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
new microcode.App();
new microcode.App()

7 changes: 4 additions & 3 deletions pxt.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -54,10 +54,11 @@
],
"testFiles": [],
"targetVersions": {
"target": "7.1.2",
"target": "7.1.13",
"targetId": "microbit"
},
"supportedTargets": [
"microbit"
]
],
"preferredEditor": "tsprj"
}

0 comments on commit 434cf18

Please sign in to comment.