Splash screen...


Closed Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2007
    Location
    Brazil
    Posts
    108

    Default Splash screen...

    Hello everyone!

    I was thinking about running a splash screen when I start LCD. It could be some flags or names or drawings, blinking things and etc.. Do you have anything available? Ideas?
    This splash screen could take 2 or 3 seconds at most...

    If you have something, please, can you show it?

    Thanks in advance...

    Regards.
    Sylvio,

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sirvo View Post
    Hello everyone!

    I was thinking about running a splash screen when I start LCD. It could be some flags or names or drawings, blinking things and etc.. Do you have anything available? Ideas?
    This splash screen could take 2 or 3 seconds at most...

    If you have something, please, can you show it?

    Thanks in advance...

    Regards.
    Hi Silvio, not sure if mackracket covered your question or if question was how to implement, so if how to implement, it's easy, just lcdout after your defines pause 3 seconds and then follow with your main loop, like so:
    Code:
    DEFINE xxxxxxxxxxx
    DEFINE yyyyyyyyyyyy
    DEFINE >>>>>>>>>
    
    LCDOUT "sylvio's flash message"
    PAUSE 3000
    lcdout $FE,1
    LCDOUT $FE,2
    
    
    loop: Do something
            Do somethingMore 
            goto loop
    end
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  4. #4
    Join Date
    Jan 2007
    Location
    Brazil
    Posts
    108


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Joe S. View Post
    Hi Silvio, not sure if mackracket covered your question or if question was how to implement, so if how to implement, it's easy, just lcdout after your defines pause 3 seconds and then follow with your main loop, like so:
    Code:
    DEFINE xxxxxxxxxxx
    DEFINE yyyyyyyyyyyy
    DEFINE >>>>>>>>>
    
    LCDOUT "sylvio's flash message"
    PAUSE 3000
    lcdout $FE,1
    LCDOUT $FE,2
    
    
    loop: Do something
            Do somethingMore 
            goto loop
    end
    Hello!!

    mackracket didnt covered what I wanted.. but thanks mackrackit!!!

    Joe S... I have done something similar to what you have quote. The LCD is showing some messages before starting like "hello world" and stuffs like this..

    BUT, what I really want is some animated splash screen, not only texts appearing... Got it? It can be blinking texts mixed with smiles or small cartoons or jokes or anything.....

    I'm still all ears... Thanks for the attention...

    Regards ..
    Sylvio,

  5. #5
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    So then are you going to use a graphics display rather than a text type LCD? Or do you intend to use simple characters like in mackracket's post? Look at this:
    http://www.sparkfun.com/commerce/pro...oducts_id=8358

    JS
    Last edited by Archangel; - 1st October 2007 at 05:02.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Hi Silvio,

    I should have explained what I was getting at. You can use custom characters for animation.
    Here is an example of a smiley rolling right and left on an eight segment display.

    The first part is a long way to write the code but you can see what is going on. (going right)
    The second part is shortened up a bit. (going left)

    Code:
    CNT	VAR BYTE	'DUMMY COUNT VAR
    PL	VAR BYTE	'POSITION VAR
    CH	VAR BYTE	'CHARACTER VAR
    
    LCDOUT  $FE,$40,$00,$0A,$0A,$00,$00,$11,$0E,$00  ' Cust Char #0  
    LCDOUT  $FE,$48,$00,$08,$13,$10,$13,$08,$00,$00  ' Cust Char #1  
    LCDOUT  $FE,$50,$0E,$11,$00,$00,$0A,$0A,$00,$00  ' Cust Char #2  
    LCDOUT  $FE,$58,$00,$02,$19,$01,$19,$02,$00,$00  ' Cust Char #3
    
    PAUSE 200
    
    DISPLAY:
    
    'THE LONG WAY. EACH COSTOM CHARACTER DISPLAYED_
    'IN A NEW CELL GOING RIGHT
    
    PAUSE 250
    LCDOUT $FE,1
    LCDOUT $FE,$80,0
    
    PAUSE 250
    LCDOUT $FE,1
    LCDOUT $FE,$81,1
    
    PAUSE 250
    LCDOUT $FE,1
    LCDOUT $FE,$82,2
    
    PAUSE 250
    LCDOUT $FE,1
    LCDOUT $FE,$83,3
    
    PAUSE 250
    LCDOUT $FE,1
    LCDOUT $FE,$84,0
    
    PAUSE 250
    LCDOUT $FE,1
    LCDOUT $FE,$85,1
    
    PAUSE 250
    LCDOUT $FE,1
    LCDOUT $FE,$86,2
    
    PAUSE 250
    LCDOUT $FE,1
    LCDOUT $FE,$87,3
    
    PAUSE 250
    LCDOUT $FE,1
    LCDOUT $FE,$88,0
    
    '################
    'NOW TO SAVE A LITTLE CODE SPACE_
    'WILL ROLL BACK TO START
    
    PL = $88
    CH = 3
    FOR CNT = 1 TO 8
    PL = PL - 1
    CH = CH - 1
    PAUSE 100
    LCDOUT $FE,1
    LCDOUT $FE,PL,CH
    IF CH = 0 THEN CH = 3
    NEXT
    '######
    'MUCH SHORTER
    
    GOTO DISPLAY
    
    END
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    I'll second the GLCD suggestion as long as you can't deal with the regular character LCD limitations.

    Sure PBP command set don't support any GLCD type. You'll need to create your own GLCD driver. Sure it's not a really easy task, but once you have it, the whole thing look by far better than a simple character type LCD.

    You may want to have a look at the followings...
    http://www.compsys1.com/workbench/On...3C/t6963c.html
    http://www.compsys1.com/workbench/Be...0/sed1330.html
    http://www.compsys1.com/workbench/On...ontroller.html
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. OT: Cell Phone Video Screen Design
    By kevj in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st February 2009, 01:30
  2. Text on a VGA screen
    By muddy0409 in forum General
    Replies: 6
    Last Post: - 18th October 2008, 14:14
  3. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 12:22
  4. Touch Screen Wish List!!!
    By Amity in forum PBP Wish List
    Replies: 2
    Last Post: - 15th September 2005, 14:40
  5. Interfacing an Video LCD Screen
    By apache in forum General
    Replies: 2
    Last Post: - 18th June 2005, 10:42

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts