LCDOUT on the 16F688


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2007
    Location
    Sweden
    Posts
    73

    Smile LCDOUT on the 16F688

    Hi all!

    On which I/O pins (16F688) can I expect to find the PBP default connections for an LCD (44780)?
    Asking since this device doesn’t have any PORT B.

    Thanks.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by PICante View Post
    Hi all!
    On which I/O pins (16F688) can I expect to find the PBP default connections for an LCD (44780)?
    Asking since this device doesn’t have any PORT B.
    Thanks.
    Yes, the manual does not define those pins...

    Is it so hard to set your own pins for your configuration?

  3. #3
    Join Date
    Dec 2007
    Location
    Sweden
    Posts
    73


    Did you find this post helpful? Yes | No

    Talking

    Hi skimask,

    No, I would probably manage to set the pins straight but it is against my principals to fiddle with things for no reason (call it lazy if you want!). :-) That’s why I was wondering where to find them on this device as default.
    This “project” is at an early stage (on paper) so I am just trying to figure out which pins are available after hooking up an LCD (on the default pins). :-)


    Thanks

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by PICante View Post
    Hi skimask,

    No, I would probably manage to set the pins straight but it is against my principals to fiddle with things for no reason (call it lazy if you want!). :-) That’s why I was wondering where to find them on this device as default.
    This “project” is at an early stage (on paper) so I am just trying to figure out which pins are available after hooking up an LCD (on the default pins). :-)


    Thanks
    Well, that's one reason to learn why everything works the way everything works...
    'cause if you did...you may also find out that on a parallel LCD, you don't necessarily need the R/W pin connected, just tie it low.
    There ya go! Saved you 1 pin...
    You can actually figure it out for yourself.
    Make a program that accesses the LCD, compile it, assemble it, set up MCS to output a .LST file (before compiling and assembling), then search that .LST file for the LCDOUT command. If you look close enough, you should be able to see references in that .LST file as to where the command is going to send data/control signals.

  5. #5
    Join Date
    Dec 2007
    Location
    Sweden
    Posts
    73


    Did you find this post helpful? Yes | No

    Talking

    I did lookinto the .LST file but there was a LOT of LCDOUT’s! So I decided (easy way out) to assign pins for the LCD myself and it works perfectly.

    Thanks skimask! (and don’t say “I told you so”!) :-)

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by PICante View Post
    I did lookinto the .LST file but there was a LOT of LCDOUT’s! So I decided (easy way out) to assign pins for the LCD myself and it works perfectly.

    Thanks skimask! (and don’t say “I told you so”!) :-)
    Nah, no I told you so...
    Yes, there is a lot of LCDOUT's in the LST file, but the ones you want to look at are the ones before your main program, near the top of the file, where all of the PBP subroutines (not your subroutines) and helper routines go.

Similar Threads

  1. Timer + rc5
    By naga in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th November 2009, 07:56
  2. need help in coding..
    By daphne8888 in forum mel PIC BASIC
    Replies: 1
    Last Post: - 19th March 2008, 07:31
  3. Help GPS read with serin
    By leinske in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 5th September 2007, 02:33
  4. Crystalfontz LCD
    By jman12 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th February 2007, 15:04
  5. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 12:22

Members who have read this thread : 1

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