SEROUT Just Garbage!


Closed Thread
Results 1 to 37 of 37

Hybrid View

  1. #1
    Join Date
    May 2006
    Location
    Del Rio, TX, USA
    Posts
    343


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by flotulopex
    Can someone suggest any terminal emulator I could use?
    I use Tera Term. I find it much easier to use than hyperterminal. But, and I am speaking in the blind a little hear, I don't know if you can invert the singnals from the terminal software. Either way, you may find you like Tera Term, and it's FREE!

    Steve

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    I'm not talking about inverting the data on your terminal.

    You have to do it in the PIC. There are two options on SEROUT - one TRUE and one INVERTED. Use the INVERTED option.
    Charles Linquist

  3. #3
    Join Date
    Aug 2006
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    Looking at the code I was given I see

    tx_pin = 0 'inverted mode idle state
    Could maybe try that on RX_pin...
    Are you trying the code and chip I was given?

    I'm using both hyper term and micro code one both work fine with formal settings and im using xp.

  4. #4
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default

    Well,

    It took me a while to find out how to calculate the correct "mode" value for the SEROUT2 command. Finally, it works well (on both PICs 12F675 and 16F88).

    I still don't understand the difference between the SEROUT and the SEROUT2 commands. I read the Micro Code Studio's help files but they are not very clear to me. Or is it only that SEROUT handles "only" 8 bits and SEROUT2 can handle up to 9 bits?

    My previous post sounds now a little stupid but what can be crystal clear for you can be foggy to me... Thank you for your patience.
    Roger

  5. #5
    Join Date
    Aug 2006
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    Glad you got it working

    I am very new to all this as well so I don't understand a lot either... The important thing tho is you have it working and now know how to get another working


    Daniel

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 21:58
  2. Serout to serial servo
    By azmax100 in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 12th August 2009, 17:46
  3. Advice-scrutiny for my serial controller
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th December 2008, 18:11
  4. Keypad unlock (as in garage door possibly)
    By Fred in forum Code Examples
    Replies: 5
    Last Post: - 2nd April 2006, 05:26
  5. Replies: 11
    Last Post: - 13th July 2005, 20: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