help!!!


Closed Thread
Results 1 to 17 of 17

Thread: help!!!

Hybrid View

  1. #1
    Rhatidbwoy's Avatar
    Rhatidbwoy Guest


    Did you find this post helpful? Yes | No

    Default

    I am learning about this too. I have some problems my self in a different area, but as stated in the manual:

    " An oscillator speed faster than 4MHz may be required for reliable operation at 9600 baud and above."

    That is only why I said something about it. I remember seeing it and thought that it could help with suggestions. Good Luck.

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


    Did you find this post helpful? Yes | No

    Default

    i can't safely said it will not work @4MHZ, but by the warnings...

    Why not using DEBUG instead as suggested before WICH WILL FOR SURE provide a faster baudrate even @4MHZ
    Steve

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

  3. #3
    Join Date
    Dec 2005
    Posts
    12


    Did you find this post helpful? Yes | No

    Default HElp!

    thx for ur help

  4. #4
    Join Date
    Dec 2005
    Posts
    12


    Did you find this post helpful? Yes | No

    Default help!!

    TRISA=255
    TRISB=0
    DEFINE DEBUGIN_REG PORTA ' Serial data come in
    DEFINE DEBUGIN_BIT 0 ' PORTA.0
    DEFINE DEBUGIN_MODE 0 ' true driven mode
    DEFINE DEBUG_BAUD 9600 ' 9600 BAUD
    DataIn var byte

    START:
    DEBUGIN DataIn
    PORTB=DaraIn
    goto start


    does this code for 16F84 plays the role of a serial to parallel converter?

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


    Did you find this post helpful? Yes | No

    Default

    it's suppose too, depending how the data is send by the external world. If the external device send the character 128... you send 128 to the port. BUT if the external device send the string 128... if you're lucky, you'll send 1, then, 2, then 8 at the output. SO all depend of the external device.

    What are your results as now?
    Did you tried different modifiers? (DEC, HEX....)
    Steve

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

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