timing for dmx??


Closed Thread
Results 1 to 4 of 4

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Baudrate= 250 000 Bauds sure of it?

    If so, you'll have to use the HSERIN,HSEROUT statement of PBP.

    Setting for 16MHZ crystal.
    DEFINE HSER_TXSTA 24h
    DEFINE HSER_RCSTA 90h
    DEFINE HSER_SPBRG 3

    by using a 20MHZ crystal
    DEFINE HSER_TXSTA 24h
    DEFINE HSER_RCSTA 90h
    DEFINE HSER_SPBRG 4

    Once you're able to grab data from your DMX stuff, use SERIN/SEROUT on other pins to send that data to your PC.
    Steve

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

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


    Did you find this post helpful? Yes | No

    Default

    have a look this link

    Here
    Last edited by mister_e; - 7th May 2005 at 17:25.
    Steve

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

Similar Threads

  1. 12F683 serout timing
    By Hobie Cat in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 21st December 2009, 16:57
  2. 18F2550 timing
    By sstt1976 in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 22nd August 2008, 00:30
  3. Timing inaccuracy - any ideas?
    By Optech in forum General
    Replies: 6
    Last Post: - 7th February 2008, 09:37
  4. Timing different events on PBC vs. PBP
    By Rifraf in forum General
    Replies: 4
    Last Post: - 5th December 2007, 22:45
  5. HSEROUT buffering and timing - 16F88
    By picster in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 5th March 2006, 17:52

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