LCDOUT Implementation


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default LCDOUT Implementation

    Can you grab one character at a time coming into the PIC, stick them together in an array one at a time (up to the length of the LCD display line), and then spit it all out at once with LCDOUT when you receive a <13> or something?

    This worked well for me... at 2400 baud, mind you... As long as your text arrives with enough time between the <13> and the next line of stuff to send it all out to the LCD, it should work.

    ------------------Picster---------------

  2. #2
    Join Date
    Mar 2005
    Location
    Madison, WI, USA
    Posts
    20


    Did you find this post helpful? Yes | No

    Default More on LCD

    I had thought conceptually about this approach and like yourself, could have probably got a string buffer to work.

    Ultimately I took what I think was the easiest course of action and that used in most of the posts I found here. Instead of using DEBUGIN I used HSERIN on the input side and the LCDOUT on the output side at 2400 baud with a and 4 pin data bus to the module. The code illustrated in several posts just envolved a character for character transfer with the PIC just cycling through read, biding the time between characters. At 2400 this seemed to work fine.

    This solution meant changing my circuit board so that the hardware RX pin was used for input. On the 16F628A this meant I could not use all 8 PortB pins for output to the module. I disconnected the wires from B0-B3 to the module and just used B4-B7. The whole board was designed for an assembler code by one Tom Coonan which is available on the WEB. I just couldn't get it ported over to the 16F628A and have it work right. After 3 weeks of messing with it I opted to use the PIC Basic solution.

    In any case, I have the "Backpack" working again and at 2400 I have tested it with another PIC as the sender and aslo Hyperterminal on a PC. It works fine now!

Similar Threads

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