From d8da5b1eea0f36f18a77f26fbcf6943491bb04ab Mon Sep 17 00:00:00 2001 From: Lerking Date: Wed, 30 Apr 2025 06:40:53 +0200 Subject: [PATCH] Update projects_novice --- projects_novice.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects_novice.md b/projects_novice.md index 44dbb4e..baba987 100644 --- a/projects_novice.md +++ b/projects_novice.md @@ -46,11 +46,11 @@ while True: # Hvis begge knapper trykkes audio.play(Sound.HELLO) elif button_a.is_pressed(): - # On button A play a sound and when it's done show an image + # Hvis knap A trykkses, afspil en lyd, og derefter vis et billede audio.play(Sound.HAPPY) display.show(Image.HAPPY) elif button_b.is_pressed(): - # On button B play a sound and show an image at the same time + # Hvis knap B trykkes, afspil en lyd of vis samtidig et billede audio.play(Sound.TWINKLE, wait=False) display.show(Image.BUTTERFLY)