Display Function error

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

Display Function error

Postby 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 *
3 display.show('GO',delay=400, wait=True, loop=False,clear=True)
5 display.off()

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

Re: Display Function error

Postby deshipu » Mon Mar 13, 2017 9:28 am

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

Return to “The micro:bit”

Who is online

Users browsing this forum: No registered users and 1 guest