参考: Programming the BBC micro:bit: Getting Started with MicroPython, p.69-71
from microbit import * with open("test.txt", "w") as sute: sute.write("ABC") with open("test.txt") as sute: message = sute.read() while True: display.scroll(message, monospace = False)