2.1.28, initiation update to PXT v5.28.24 (#54)
This commit is contained in:
committed by
Peli de Halleux
parent
38a964516e
commit
5c114a0c57
@ -1,15 +1,7 @@
|
||||
basic.setLedColor(Colors.Blue)
|
||||
basic.pause(500)
|
||||
basic.setLedColor(Colors.Red)
|
||||
basic.pause(500)
|
||||
basic.setLedColor(Colors.Green)
|
||||
basic.pause(500)
|
||||
basic.setLedColor(0);
|
||||
basic.setLedColor(Colors.Violet)
|
||||
basic.pause(100)
|
||||
led.plot(0, 0)
|
||||
basic.pause(1000);
|
||||
basic.forever(() => {
|
||||
const a = input.acceleration(Dimension.X);
|
||||
led.plotBarGraph(a, 1023)
|
||||
})
|
||||
basic.plotLeds(`
|
||||
# # . # #
|
||||
. . # . .
|
||||
. . # . .
|
||||
# . . . #
|
||||
. # # # .
|
||||
`);
|
||||
|
@ -6,6 +6,7 @@
|
||||
],
|
||||
"public": true,
|
||||
"dependencies": {
|
||||
"core": "file:../core"
|
||||
"core": "file:../core",
|
||||
"radio": "file:../radio"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user