第 1 步:制作
它是什么?
Turn your BBC micro:bit into a scrolling name badge with just a few instructions.
介绍
编程指南
工作原理
- This project makes a great introduction to coding the micro:bit.
- You’ll discover how easy it is to create sets of instructions, or algorithms, in code, which is a language a computer like a micro:bit can understand.
- The program you’ll create scrolls text across the screen to show your name.
- It uses an infinite loop which keeps your name scrolling on the micro:bit’s LED display output until you unplug the micro:bit from its battery or USB lead.
所需材料
- micro:bit或者是MakeCode模拟器
- MakeCode 或者 Python 编辑器
- 电池盒(选配)
第 2 步:编程
第3步:完善
- Add more ‘show string’ blocks to say more about yourself.
- Add a ‘show icon’ block to show how you’re feeling or express your personality.
- Design a way of wearing your micro:bit badge using thread, tape or Velcro. (请勿使用安全别针,因为金属会损坏micro:bit。)
This content is published under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) licence.