serial LCD display?


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    ra68gi's Avatar
    ra68gi Guest


    Did you find this post helpful? Yes | No

    Question

    Picster,
    Thanks for the code.I will soon try it out.I have a few more questions with regard to the code you have sent.
    First,
    ' PA1=0:non-inverted mode (pic-to-pic)
    ' PA1=1:inverted mode (RS-232)

    is there some sort of a convention to use non-inv mode for pic to pic & inverting mode for RS-232.
    Please explain.

    Second,
    GETMORE:
    SerIn PORTA.0,sermode,,mybyte 'get 1 byte at a time

    I can see two comas after sermode.Is that right.
    ra68gi

  2. #2


    Did you find this post helpful? Yes | No

    Smile

    Quote Originally Posted by ra68gi
    Picster,
    Thanks for the code.I will soon try it out.I have a few more questions with regard to the code you have sent.
    First,
    ' PA1=0:non-inverted mode (pic-to-pic)
    ' PA1=1:inverted mode (RS-232)

    is there some sort of a convention to use non-inv mode for pic to pic & inverting mode for RS-232.
    Please explain.
    You must use inverted mode (through a resistor) if you're using RS-232 voltage levels (i.e. - to a PC serial port). For PIC-PIC serial communication, this is not necessary, you can merely use non-inverted, TTL levels.

    Quote Originally Posted by ra68gi
    Second,
    GETMORE:
    SerIn PORTA.0,sermode,,mybyte 'get 1 byte at a time

    I can see two comas after sermode.Is that right.
    ra68gi
    Yes, because there is no "qualifier" to satisfy, you put 2 commas in as placeholders.

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

Similar Threads

  1. LCD serial backpacks
    By Archangel in forum Serial
    Replies: 67
    Last Post: - 30th December 2010, 05:51
  2. LCD Display
    By lambert in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 16th January 2010, 23:18
  3. Please help with EDE702 - Serial to LCD interface
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th October 2008, 03:48
  4. Replies: 2
    Last Post: - 14th July 2008, 23:11
  5. SMART Serial 4 Digit LCD Display (SMARD4)
    By paul borgmeier in forum Adverts
    Replies: 0
    Last Post: - 5th January 2005, 06:50

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