Any sample FTDI FT232RL or FT232BM code?


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by TonyA View Post
    I haven't chosen a PIC to use for this yet, any recommendations?
    Any PIC you have available...


    serial_input_pin var whateverpinyouwanttouse
    input_data var byte
    led var whateverpinyouwanttouse

    Main:
    serin serial_input_pin,t2400,input_data
    if input_data="1" then led = 1
    if input_data="0" then led = 0
    goto main

  2. #2
    Join Date
    Apr 2006
    Posts
    92


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Thanks again.

    So, it would be exactly as if it were just plain serial input?

    I thought maybe there were some other things needed to do in dealing with the bridge chip. (Is there any "handshaking" or clock data that needs to be sent/received between the Pic and the FT232XX?)

    (Sorry in advance if I'm causing any confusion, etc. I'm just now starting to learn about rs232 and FTDI)

    Thanks again,

    Tony

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by TonyA View Post
    Hi, Thanks again.
    So, it would be exactly as if it were just plain serial input?
    I thought maybe there were some other things needed to do in dealing with the bridge chip. (Is there any "handshaking" or clock data that needs to be sent/received between the Pic and the FT232XX?)
    (Sorry in advance if I'm causing any confusion, etc. I'm just now starting to learn about rs232 and FTDI)
    Thanks again,
    Tony
    The basic operation is just as simple as that. CTS/RTS are optional, programmable. The biggest pain (if you can call it that, 'cause it's all handled by Windows) is getting the thing recognized by Windows. If you don't mess with the drivers and install them correctly, no problem.

  4. #4
    Join Date
    Apr 2006
    Posts
    92


    Did you find this post helpful? Yes | No

    Default

    Hi,

    I see... Thanks for clearing this up for me.

    Tony

Similar Threads

  1. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  2. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  3. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. 18F8722 sample code
    By George in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th June 2008, 13:42

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