LCDOUT with custom PINS


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Now i am working.... late?

    Hi, i didnt reply because i was expecting the PCB, it was late so i got to work just today.

    Darrel Thanks for your reply, i have been trying to figure your suggestion, i get the virtual port, but in the link

    http://www.picbasic.co.uk/forum/showthread.php?p=22065

    the example to use it to this specific case uses a HighJack.bas include that isnt posted anywhere.

    Now if i get it well The HighJack.bas file must be used to replace a subroutine for a self made one, wich DO is on the post.

    Now summary: The HighJack will replace LCDOUT for a selfmade, this LCD self made uses virtual PORT to write to the device.... If i am wrong please correct me.

    Finally i will need HighJack.bas

    On the other hand, is it really this hard to work with LCD`s isnīt there a simple routine that i can change just to make LCDOUT? which are the LCD commands?, i have never seen them.

    Thanks

    DJC
    Last edited by Josuetas; - 2nd September 2007 at 17:18.

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Hi Josuetas,

    On the other hand, is it really this hard to work with LCD`s isnīt there a simple routine that i can change just to make LCDOUT?
    It really depends on what you need to do with the LCD.

    If you just want to send individual characters to the LCD, you can use the program shown in the other thread, and by removing the HighJack reference and changing 1 other line, it will do exactly that. Which means the answer to the question is ... No it's not difficult to work with LCD's.

    But that means you can't use PBP's LCDOUT statement. No DEC, HEX, STR, or anything else that goes with LCDOUT.

    The hard part, is making a "custom LCD Driver" tie into PBP's LCDOUT statement so that it's completely transparent to the user. You would just use LCDOUT like you normally would.

    Like I mentioned earlier, I have it working here. But I still haven't got it to where I can release it as "Working in all situations".

    I'm sure I can get it working for you, but I want to do some testing here first. So I need to know EXACTLY what your setup is.

    Originally you said 16F628.
    Is that the standard or "A" version?

    Are these correct?
    Code:
    Hopefully
    PortA.6->D7
    PortA.7->D6
    PortA.0->D5
    PortA.1->D4
    And what about RS and E ?
    <br>
    DT

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    OK, too slow.

    You're probably in another timezone sleeping away..

    Got it figured out.

    See this ...

    LCD_AnyPin.pbp
    http://www.picbasic.co.uk/forum/showthread.php?t=7038

    HTH,
    DT

  4. #4


    Did you find this post helpful? Yes | No

    Default Sorry for the daley

    I am sorry for being late in my answer

    Thanks for your help Darrel, i will watch it right now.

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 : 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