Étape 1 : Maîtrisez
Qu'est-ce que c'est ?
Make an emotion badge that expresses how you feel in sounds as well as pictures.
Introduction
Guide de codage
Ce que vous apprendrez
- How to use the new micro:bit's built-in sounds as outputs to add personality and expression to your projects.
Comment ça marche
- 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.
Ce dont vous aurez besoin
- new micro:bit with sound (or MakeCode simulator)
- MakeCode ou éditeur Python
- un boîtier de piles (optionnel)
Étape 2 : Codez
Étape 3 : Améliorez
- 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.