diff --git a/app.ts b/app.ts index 8654c53..a95204c 100644 --- a/app.ts +++ b/app.ts @@ -36,7 +36,7 @@ namespace microdata { // Temp disabled elements relating to callbackObj (no mem) else - new NoArcadeShieldMode(this); + new DistributedLoggingProtocol(this, false); } public pushScene(scene: Scene) { diff --git a/home.ts b/home.ts index 9828709..b45eca2 100644 --- a/home.ts +++ b/home.ts @@ -12,12 +12,9 @@ namespace microdata { private recordDataBtn: Button private distributedLoggingBtn: Button private viewBtn: Button - private tagline: string; constructor(app: AppInterface) { super(app) - this.tagline = ["Lets measure!", "Hello :)", "Lets experiment!", "Mini-measurer", - "Record & view", "Data Science toolkit", "Start experimenting!", "for the micro:bit v2"][randint(0, 7)] } /* override */ startup() { @@ -59,8 +56,8 @@ namespace microdata { x: 20, y, onClick: () => { - // this.app.popScene() - // this.app.pushScene(new DistributedLoggingScreen(this.app)) // Temp disabled elements relating to callbackObj (no mem) + this.app.popScene() + this.app.pushScene(new DistributedLoggingScreen(this.app)) // Temp disabled elements relating to callbackObj (no mem) }, }) @@ -124,12 +121,12 @@ namespace microdata { if (!this.yOffset) { Screen.print( - this.tagline, + "Mini-measurer", Screen.LEFT_EDGE + ((Screen.WIDTH + wordLogo.width) >> 1) + dy - - font.charWidth * this.tagline.length, + font.charWidth * "Mini-measurer".length, Screen.TOP_EDGE + OFFSET + wordLogo.height + diff --git a/pxt.json b/pxt.json index 8f0758f..d29b6be 100644 --- a/pxt.json +++ b/pxt.json @@ -33,7 +33,6 @@ "dataRecorder.ts", "tabularDataViewer.ts", "generateGraph.ts", - "noArcadeShieldMode.ts", "distributedLogging.ts" ], "testFiles": [],