Thread: USB Code PIC18F87J50

  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    2

    USB Code PIC18F87J50

    Hello,

    I wonder if somebody has written code to control the USB from the PIC18F...
    I looked in to the data sheet and it is a lot of work to write this myself if I even can.
    I'm looking for a sort of .h file that has all the needed code to write and read from the usb and also auto connects with a program on the pc. If somebody wants to share that code with me I would appreciate it.

    Thanks,
    Number148.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    One search in google for the subject of your post and two clicks on the resulting links came up with this:
    USB Application Design Center

    I have no idea if this is actually doing what you were looking for, but it sounds from the text on the web-page as if it is. But if you already have looked at that and determined that it's not the right thing, you could have said so, saving me the trouble of looking for it.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Jun 2009
    Posts
    2
    Thanks for the response, but I think you can understand that I've looked on google many times before I posted anything. so no this is not what I'm looking for. I've tryed that and the files just don't work how I want it. I just need a header file that has everything of the ubs set. So that I only have to use like "USB_READ(dat....)" or "USB_WRITE(data...)". so if any one has written this I would like to use the header file for my project.

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    And what if that's not available?

    Perhaps the way it works is different?

    Did you actually look at the files in the zip-file linked on the page I posted the link on?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 09-02-2008, 10:51 PM
  2. Proposal: Code colouring
    By Perspective in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 05-14-2007, 07:23 AM
  3. Values changing without reason?
    By subtled in forum C Programming
    Replies: 2
    Last Post: 04-19-2007, 10:20 AM
  4. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM