Skip to content

Atividade

Sound emotion badge

Iniciante | MakeCode, Python | Botões, Logotipo Touch, Microfone, Tela de LED | Entrada/saída

Passo 1: Projeto

O que é?

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

Introdução

Coding guide

O que você aprenderá

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

Como 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.

O que você precisa

  • new micro:bit with sound (or MakeCode simulator)
  • Editor MakeCode ou Python
  • bateria (opcional)

Passo 2: É hora de programar

Passo 3: Vamos melhorar

  • 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.