Display Function error

Questions and discussion about running MicroPython on a micro:bit board.
Target audience: MicroPython users with a micro:bit.
Post Reply
markwales
Posts: 1
Joined: Sat Mar 11, 2017 8:16 pm

Display Function error

Post by markwales » Sat Mar 11, 2017 8:23 pm

New to MicroPython. What am I doing wrong here? I get an error on Line 5 with display.off() but line 3 display.show works fine. Any help appreciated.

1 from microbit import *
2
3 display.show('GO',delay=400, wait=True, loop=False,clear=True)
4
5 display.off()

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: Display Function error

Post by deshipu » Mon Mar 13, 2017 9:28 am

That works for me. Can you tell what error you are getting?

Post Reply