12f675_fuse_about_to_blow!


Closed Thread
Results 1 to 40 of 929

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Yes, that link will show you how to do custom characters.
    You will also want to look in the manual about how to place a normal character anyplace on the display along with different things that can be done with the cursor.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    I'm on it....

    See you tomorrow.

    Dave

  3. #3
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    I had a go at loading a couple of custom characters with no success, so I thought I'd make my name move across the screen. Here's a part of the program.

    The trouble is, on the third line down of the LCD (first square) my name also appears there. Could I when trying to load a custom character have inadvertently done something to the CGRAM setting? I then thought maybe it's the cursor so I turned that off with no joy, name moves across the screen still and also 1'st square third line.

    Code:
      MAIN:
    pause 1000
    LCDOUT $FE,$0C    'Cursor off
    PAUSE 50
    LCDOUT $FE,1,"                    *"
    pause 500
    LCDOUT $FE,1,"                   *D" 
    pause 500
    LCDOUT $FE,1,"                  *DA"
    PAUSE 500
    LCDOUT $FE,1,"                 *DAV"
    PAUSE 500
    LCDOUT $FE,1,"                *DAVE"
    Nice work on the website by the way.

    Dave

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


    Did you find this post helpful? Yes | No

    Default

    Part of the problem might be the 21 spaces on a 20 character screen??

    Post you custom character code and we will see whats up.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Hi mackrackit,

    Oh dear, I can't even count up to 20 now

    I've been working on my HEX today, maybe that explains it

    Working a treat now thanks, 'again'.

    Post you custom character code and we will see whats up.
    It's not mine it's Darrel Taylor's, from that link you posted. It's the battery symbol.

    Code:
    MAIN:
    PAUSE 500
    LCDOUT $FE,$78,$06,$0f,$0f,$0f,$0f,$0f,$0f,$00
    GOTO MAIN
    Dave
    Last edited by LEDave; - 23rd April 2010 at 22:37.

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


    Did you find this post helpful? Yes | No

    Default

    The LCDOUT character stuff place at the beginning of your code, in the variable area.
    Code:
    LCDOUT $FE,$40,$06,$0f,$0f,$0f,$0f,$0f,$0f,$00 'This is the first character #0
    'The first place in the RAM is $40
    'The next character would start with $48
    VARS
    DEFINES
    ...
    Then in your loop
    Code:
    MAIN:
    PAUSE 500
    LCDOUT $FE,1,0 'First character
    LCDOUT $FE,1,1 'Second character if you have one
    GOTO MAIN
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Cheers mackrackit,

    Things slowly starting to filter through. I'll have a look tomorrow.

    I love the old LCD though, cracking.

    Dvae

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