Skip to content

Actividad

Sound emotion badge

Principiante | MakeCode, Python | Altavoz, Botones, Logotipo táctil, Pantalla LED | Entrada/salida

Paso 1: Hazlo

¿Qué es?

Make an emotion badge that expresses how you feel in sounds as well as pictures.

Introducción

Guía de programación

Qué aprenderás

  • How to use the new micro:bit's built-in sounds as outputs to add personality and expression to your projects.

Cómo funciona

  • The micro:bit with built-in speaker can play new expressive sounds. This project plays a happy sound when you press input button A to match the happy icon on the LED display output.
  • It plays a sad sound when you press button B to match the sad face icon.
  • When you press the touch logo, it plays the 'spring' sound to match the surprised face on the LED display.

Qué necesitas

  • new micro:bit with sound (or MakeCode simulator)
  • Editor de MakeCode o de Python
  • pilas (opcionales)

Paso 2: Prográmalo

Paso 3: Mejóralo

  • Experiment with the different new expressive sounds like 'giggle', 'hello' and 'twinkle'.
  • Modify the program with different emotion icons, or draw your own.
  • Add an animation to go with each expression.