参考: Programming the BBC micro:bit: Getting Started with MicroPython, p.89-91
Image クラスを使って個々のドット絵をインスタンス化し、それをリストに格納して display.show() の引数に取れば、各絵文字が順番に表示される (Image.ALL_CLOCKS などは最初から複数のドット絵がリスト形式で構成されている)。
from microbit import * frame1 = Image("00000:" "00000:" "00000:" "00000:" "00000:") frame2 = Image("00000:" "00000:" "00000:" "00000:" "99999:") frame3 = Image("00000:" "00000:" "00000:" "99999:" "99999:") frame4 = Image("00000:" "00000:" "99999:" "99999:" "99999:") frame5 = Image("00000:" "99999:" "99999:" "99999:" "99999:") frame6 = Image("99999:" "99999:" "99999:" "99999:" "99999:") frames = [frame1, frame2, frame3, frame4, frame5, frame6, frame5, frame4, frame3, frame2] while True: display.show(frames, delay=100)