QL200 owners


Closed Thread
Results 1 to 5 of 5

Thread: QL200 owners

  1. #1
    Join Date
    Aug 2008
    Posts
    42

    Question QL200 owners

    Hello everyone,
    I have a question about lcd defines. Here is my code:

    DEFINE LCD_DREG PORTD
    DEFINE LCD_DBIT 4
    DEFINE LCD_EREG PORTA
    DEFINE LCD_EBIT 3

    Now this allows me to use the lcd on my QL200 developement board (ebay). One problem is that I must jumper wire the RS to RA4 for operation. Is there any way of getting around this?
    I have tried adding:

    DEFINE LCD_RSREG PORTA
    DEFINE LCD_RSBIT 2

    Which is where the QL200 is hardwired to, but still no good. There apparently are conflicts.
    Any ideas anyone?

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    > There apparently are conflicts.

    http://www.picbasic.co.uk/forum/showthread.php?t=561

  3. #3
    Join Date
    Sep 2011
    Location
    Inside QL200
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Re: QL200 owners

    Just worked out how it needs to be done.

    For 16F877A, need to add this code on top:

    ADCON1=%00000111
    DEFINE LCD_DREG PORTD
    DEFINE LCD_DBIT 4
    DEFINE LCD_RSREG PORTA
    DEFINE LCD_RSBIT 1
    DEFINE LCD_EREG PORTA
    DEFINE LCD_EBIT 3
    DEFINE LCD_BITS 4
    DEFINE LCD_LINES 2
    LOW PORTA.2

    Then just use LCDOUT and it will work.

    BR

  4. #4
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default Re: QL200 owners

    No question left un answered, even 3 years later!
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  5. #5
    Join Date
    Sep 2011
    Location
    Inside QL200
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Re: QL200 owners

    Yeah, i just decided to post the solution as it was a top google result and had +1500 viewings

    BR

Similar Threads

  1. microcode studio and ql200 development board
    By mombasa in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 1st October 2015, 17:28

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