diff --git a/libs/hello/hello.ts b/libs/hello/hello.ts index a1c168a9..9788ca83 100644 --- a/libs/hello/hello.ts +++ b/libs/hello/hello.ts @@ -1,7 +1,6 @@ -basic.plotLeds(` -# # . # # -. . # . . -. . # . . -# . . . # -. # # # . -`); +led.plot(0, 0) +basic.pause(1000); +basic.forever(() => { + const a = input.acceleration(Dimension.X); + led.plotBarGraph(a, 1023) +}) diff --git a/libs/hello/pxt.json b/libs/hello/pxt.json index 73eb3d11..468413e1 100644 --- a/libs/hello/pxt.json +++ b/libs/hello/pxt.json @@ -6,7 +6,6 @@ ], "public": true, "dependencies": { - "microbit": "file:../microbit", - "microbit-radio": "file:../microbit-radio" + "microbit": "file:../microbit" } }