Leds i botons
Comença a aprendre sobre entrades i sortides amb els leds i els botons de la teva BBC micro:bit
Els leds
Un LED, o díode emissor de llum (Light Emitting Diode), és un dispositiu de sortida que emet llum. La teva BBC micro:bit té una pantalla de 25 leds que pots programar.
![](https://cdn.sanity.io/images/ajwvhvgo/production/db49f8a8b6be16ea68dc6634a3b9fccb795bd575-395x322.gif?rect=0,12,395,296&bg=fff&w=232&h=174&q=90&fit=min&auto=format)
Converteix la teva micro:bit en una insignia animada amb el teu nom
![](https://cdn.sanity.io/images/ajwvhvgo/production/729d4a042f6eb6892182ffdb1d2a726a1f4b3d74-383x313.gif?rect=0,12,383,287&bg=fff&w=232&h=174&q=90&fit=min&auto=format)
Fes bategar el cor de la micro:bit utilitzant bucles
![](https://cdn.sanity.io/images/ajwvhvgo/production/8b5b3bee09922106dc45b932c661108cfb68b41d-800x600.png?bg=fff&w=232&h=174&q=90&fit=min&auto=format)
Regula la teva respiració i relaxa't
Botons
Els botons són un dispositius d'entrada molt comuns. La teva micro:bit té dos botons que pots programar i un botó de reinici.
![](https://cdn.sanity.io/images/ajwvhvgo/production/e54fb56e44bf63220bd2d98ce13d177fb4f73355-369x302.gif?rect=0,12,369,277&bg=fff&w=232&h=174&q=90&fit=min&auto=format)
Compta salts, cotxes, ocells - o el que sigui!
![](https://cdn.sanity.io/images/ajwvhvgo/production/86e5da4fed89ce6729b522e6e8a8f12c88a2d7f1-790x635.png?rect=0,21,790,593&bg=fff&w=232&h=174&q=90&fit=min&auto=format)
Utilitza la micro:bit per expressar com et sents
![](https://cdn.sanity.io/images/ajwvhvgo/production/8bcce5089d440a2bfcd7f960e693d850a02be5e6-1507x1102.jpg?rect=19,0,1469,1102&bg=fff&w=232&h=174&q=90&fit=min&auto=format)
Posa a prova el teu coneixement de les taules de multiplicar amb aquest projecte.
This content is published under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) licence.