And I wrote the this code. But there is a problem.
Code: Select all
from microbit import *
image = Image(
"090900:"
"090909:"
"090909:"
"090909:"
"090909:")
def my_scroll(image) :
for x in range(image.width()) :
yield image.crop(x, 0, 5, 5) <- understand!
display.show(my_scroll(image))
Code: Select all
Allocation in interrupt handlerTraceback (most recent all last):
File "<stdin>", line 15, in <module>
MemoryError
why is that happen to me....