Can someone suggest why serout doesn't work with this board?


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2009
    Posts
    33

    Default Can someone suggest why serout doesn't work with this board?

    Hi.
    I have one of these http://www.plite.co.uk/files/MC28AD16_3%20Schematic.pdf
    I have failed to get serout/serin/hserin/hserout to work with it unless I remove the serial driver and directly link the serial connection to rb6 & 7
    my serout that works is: serout portc.6,6,["blah",10] but as soon as I put the chip in I either get nothing or nonsense back. Any ideas?

    Cheers

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by jimseng View Post
    Hi.
    I have one of these http://www.plite.co.uk/files/MC28AD16_3%20Schematic.pdf
    I have failed to get serout/serin/hserin/hserout to work with it unless I remove the serial driver and directly link the serial connection to rb6 & 7
    my serout that works is: serout portc.6,6,["blah",10] but as soon as I put the chip in I either get nothing or nonsense back. Any ideas?

    Cheers
    Try
    Code:
    serout portc.6,2,["blah",10]
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jul 2009
    Posts
    33


    Did you find this post helpful? Yes | No

    Default

    I should have said. I think I have already tried that but I will give it another go. I guess I should try different speeds too.

  4. #4
    Join Date
    Jul 2009
    Posts
    33


    Did you find this post helpful? Yes | No

    Default

    Well mode 2 and mode 10 both work. I don't know how I missed it.

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by jimseng View Post
    Well mode 2 and mode 10 both work. I don't know how I missed it.
    Any of the TRUE modes should work through the INVERTER chip to a PC terminal.
    Not sure why HSEROUT is not working. HSEROUT needs the chip to work with a PC.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 20:58
  2. Serout to serial servo
    By azmax100 in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 12th August 2009, 16:46
  3. Advice-scrutiny for my serial controller
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th December 2008, 17:11
  4. Keypad unlock (as in garage door possibly)
    By Fred in forum Code Examples
    Replies: 5
    Last Post: - 2nd April 2006, 04:26
  5. Serout PIC16F628 to PC R18iXL Board
    By Spindle in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th June 2005, 00:29

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