how to draw on the lcd screen for a certain number of second

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: roger, imaqine, 99jonathan

treeface99
Novice
Posts: 30
Joined: Thu Nov 24, 2011 10:07 am

how to draw on the lcd screen for a certain number of second

Postby treeface99 » Wed Jan 11, 2012 9:41 pm

hi

I am writing a blackjack program and right at the end of my program, I want to display a string on the screen for a number of seconds before the program ends.

I can do it using a while loop and the 'enter' button but would like it to do it automatically. Does it involve a wait() function?

Many Thanks


roger
Moderator
Posts: 372
Joined: Fri Jun 01, 2007 4:31 am
Location: Berkeley, CA

Re: how to draw on the lcd screen for a certain number of se

Postby roger » Fri Jan 13, 2012 7:16 am

I prefer

Code: Select all

Delay.msDelay(1000)
to pause the code for 1 second; it does does not need a try.. catch block.


Return to “NXJ Software”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests