Run In Background https://makecode.calliope.cc/reference/control/in-background
Run part of a program while the rest of it is doing something else.
Run In Background Run part of a program while the rest of it is doing something else
Meintest du essen?
Run part of a program while the rest of it is doing something else.
Run In Background Run part of a program while the rest of it is doing something else
Unsere Mission ist es, jeder Schülerin und jedem Schüler in Deutschland ab der 3. Klasse einen spielerischen Zugang zur digitalen Welt mit Hilfe des Calliope mini zu ermöglichen.
their data in a buffer to make it ready for a transfer to a device or to somewhere else
their data in a buffer to make it ready for a transfer to a device or to somewhere else
their data in a buffer to make it ready for a transfer to a device or to somewhere else
their data in a buffer to make it ready for a transfer to a device or to somewhere else
Run code depending on whether a boolean condition is true or false.
myScore += 1; } if (myScore == perfect) { reward = true; } Opposite condition: else
Find which direction on a compass the Calliope mini is facing.
input.compassHeading() if (degrees < 45) { basic.showIcon(IconNames.ArrowNorth) } else
See how two text strings compare based on which characters are first.
match = false; let bird = "duck"; if (bird.compare("crow") == 0) { match = true; } else
Keep running part of a program in the background.
degrees = input.compassHeading() if (degrees < 45) { basic.showString("N") } else
Run part of the program in a loop continuously at a time interval.
function () { if (input.buttonIsPressed(Button.A)) { basic.showString("A") } else
The following Python statements are supported:
supported: Variable declarations assignment statement Block-structured statements if-else