USB PIC without USB Connection


Results 1 to 10 of 10

Threaded View

  1. #3
    Join Date
    Feb 2005
    Location
    Essex, UK
    Posts
    154


    Did you find this post helpful? Yes | No

    Default

    Ahh, you come up trumps again Bruce, thank you. I was starting to think after all this work, a small problem like this would mess it all up for me!!

    I've had a look at the USB PIC Demo docs and i think the attached highlighted diagram is what you are talking about?

    So i am guesing in the code i need to put something along the lines of

    Code:
        If PORTA.1 = 1 Then ' or what ever port is the USB_ATTACH line
            Gosub DoUSBIN
            Gosub DoUSBoUT
        Else
        EndIf
    Thanks again,

    Steve
    Attached Images Attached Images  

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. Reading a slave USB with a pic
    By pcaccia in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 25th October 2008, 12:00
  3. Automatic VB6 to pic serial connection
    By arniepj in forum Code Examples
    Replies: 13
    Last Post: - 10th January 2008, 07:57
  4. Replies: 15
    Last Post: - 30th October 2007, 19:25
  5. USB, PIC18F2550 and VB
    By Tissy in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th November 2005, 18:37

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