serout2


Closed Thread
Results 1 to 5 of 5

Thread: serout2

  1. #1

    Exclamation serout2

    trying to send data to a serial lcd
    requirements are 9600 8 np 1 stop

    renton on demo program shows 16468 as corect baud #

    chart in pbp seem to indicate 84 is correct number

    shure i am reading this wrong
    can someone supply the corect number
    or explain
    thanks

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    it always depend if you need the inverted mode or the true mode.

    84 is for true mode
    16468 is for inverted mode.

    you can use my PicMultiCalc for that... kinda pain relief...

    depending your crystal speed, Serout2 may work or not. Have a look at DEBUGIN and DEBUG. it's usually better for low speed crystal.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3


    Did you find this post helpful? Yes | No

    Default ok

    couple of questions
    where is this calucator

    dont know if the device requires true or inverted
    but it does not function either way

    osc 20

    scope indicates pic is sending data

    might have a bad device

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    if you use a 20MHz oscillator, make sure you properly set the PIC config fuses. AT very least, osc to HS mode. There's a whole thread in the FAQ about that.

    Presetting Configuration Fuses (PIC Defines) into your Program
    http://www.picbasic.co.uk/forum/showthread.php?t=543

    and the PicMultiCalc is available on my website

    Mister E utilities page
    http://www.mister-e.org/pages/utilitiespag.html
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by jcleaver View Post
    trying to send data to a serial lcd
    requirements are 9600 8 np 1 stop

    renton on demo program shows 16468 as corect baud #

    chart in pbp seem to indicate 84 is correct number

    shure i am reading this wrong
    can someone supply the corect number
    or explain
    thanks
    Explanation on the number is in the PBP manual, pages 132-136 and 140-144...

Similar Threads

  1. Serout and 18F87J50
    By Glenn_Webber in forum Serial
    Replies: 8
    Last Post: - 20th November 2009, 15:26
  2. Serout to serial servo
    By azmax100 in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 12th August 2009, 17:46
  3. SLOW Serin2 and Serout2
    By dragons_fire in forum General
    Replies: 3
    Last Post: - 26th June 2009, 03:38
  4. Gps with 16f628
    By dragons_fire in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 8th June 2006, 04:38
  5. TMR1 interrupt question
    By ronjodu in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 15th February 2006, 04:02

Members who have read this thread : 1

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