Serout Question


Closed Thread
Results 1 to 2 of 2

Thread: Serout Question

  1. #1

    Default Serout Question

    The PBP Manual says the Serout command automatically makes Pin an output. I want to multiplex Pin to be an input for some program sections, then use Pin for Serout in another section. The input device will be open during the Serout period.

    Question: will Pin automatically revert back to be an input after the Serout command is over? Or, will software code be needed to switch back to input.

  2. #2
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    You'll need as much code as:

    INPUT PortX.n

    see PBP Manual Section 5.37
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



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. Serout question
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd June 2009, 00:58
  4. Advice-scrutiny for my serial controller
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th December 2008, 17:11
  5. Keypad unlock (as in garage door possibly)
    By Fred in forum Code Examples
    Replies: 5
    Last Post: - 2nd April 2006, 04:26

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