USB to COM converter


Closed Thread
Results 1 to 8 of 8

Hybrid View

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

    Default

    nope.. i haven't talked about led blink yet
    Steve

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

  2. #2

    Question

    Finally I dot it , I make a USB to COM converter cable or COM to USB converter cable and save about 40 $ thanks for all members who help me in my project.

    But in my project I have some notes :
    SEROUT2 PIC_TX,84,["hello",13,10] ; at baud rate 9600 (work)
    SEROUT PIC_TX,84,["hello",13,10] ; at baud rate 9600 (not work)
    SEROUT PIC_TX,T9600,["hello",13,10] ; at baud rate 9600 (work)
    serin rx,T9600,b0 ( work)
    serin rx,T9600,[b0] (not work)

    * configurations for USART will be on osc defined in pbp code not on external crytall
    for example you will get configurations for 9600 at osc=48MHZ not on osc=20MHZ
    does the brackets in serin have any meaning ?

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

    Default

    SEROUT/SEROUT2 baudrate mode are quite different. Both are listed in the manual

    as for the bracket in SERIN... well, the manual also explain the syntax... the code example is also self-explanatory
    Code:
    ' Wait until the character “A” is received serially on Pin1 and put next character into B0
    SERIN 1,N2400,["A"],B0
    SERIN/SEROUT don't use the USART, it's software solution. HSERIN/HSEROUT use the USART.

    And you're right, you use the OSC value for your USART.
    Last edited by mister_e; - 20th April 2008 at 14:24.
    Steve

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

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  3. serial to usb converter
    By nicjo in forum Serial
    Replies: 3
    Last Post: - 17th September 2008, 23:52
  4. USB PIC without USB Connection
    By Tissy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th December 2005, 17:39
  5. Serial to USB converter
    By jrt4fun in forum USB
    Replies: 6
    Last Post: - 8th August 2005, 15:14

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