Beach invaders | Let's go to the Beach!

Pula

Team Updates

Look at our UV protector program
Look at our UV protector program
M
Matija Potočki
let UV = 0
basic.forever(() => {
UV = input.lightLevel()
if (UV < 190) {
basic.showIcon(IconNames.Yes)
basic.pause(1000)
basic.showIcon(IconNames.Happy)
basic.pause(1000)
} else if (UV >= 190) {
basic.showLeds(`
# . . . #
. # . # .
. . # . .
. # . # .
# . . . #
`)
basic.pause(1000)
basic.showIcon(IconNames.Sad)
basic.pause(1000)
}
})
view raw gistfile1.txt hosted with ❤ by GitHub
M
Matija Potočki
NASA Logo

SpaceApps is a NASA incubator innovation program.