Está en la página 1de 2

Hoja de respuestas de actividades Ficha 3: EXPEDICIÓN

ESPELEOLÓGICA

basic.forever(function () {
    while (input.buttonIsPressed(Button.AB)) {
        basic.showLeds(`
            . . . . .
            . # # # .
            . # # # .
            . # # # .
            . . . . .
            `)
        basic.showLeds(`
            . . . . .
            . . . . .
            . . . . .
            . . . . .
            . . . . .
            `)
    }
    while (input.buttonIsPressed(Button.A)) {
        basic.showLeds(`
            . . # . .
            . # . . .
            # # # # #
            . # . . .
            . . # . .
            `)
        basic.showLeds(`
            . . . . .
            . . . . .
            . . . . .
            . . . . .
            . . . . .
            `)
    }
    while (input.buttonIsPressed(Button.B)) {
        basic.showLeds(`
            . . # . .
            . . . # .
            # # # # #
            . . . # .
            . . # . .
            `)
        basic.showLeds(`
            . . . . .
            . . . . .
            . . . . .
            . . . . .
            . . . . .
            `)
    }
})
Hoja de respuestas de actividades Ficha 3: EXPEDICIÓN
ESPELEOLÓGICA

https://makecode.microbit.org/_LF4VkA6WW0TL

https://makecode.microbit.org/_djdLKL3uoHKM

También podría gustarte