usb communication

Discussion in 'Embedded Systems and Microcontrollers' started by amila, Nov 14, 2012.

  1. amila

    Thread Starter New Member

    Nov 14, 2012
    hi guys,

    can someone tell me how to configure usb communication on a pic18f using mikro C .i want to send some data to the PC so how can i identify my PIC though usb to create a discriptor.?????

    thank you.
    Last edited: Nov 14, 2012
  2. kingeeeking

    New Member

    Nov 15, 2012
    you can use Cypress uC which is have more functions
    amila likes this.
  3. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    You can oft just use a communications device class (or USB CDC) for simple tasks. This makes the USB device appear as an old school serial port to any program, and it allows unformatted data (meaning you can send just some bytes) to and from a PC.

    If you were using a Microchip compiler you could use any of the sample programs provided in the Microchip Application Library (MAL) as the basis for several very useful applications.

    As all of that is free I've never seen the need for using another compiler. However, I would be quite surprised if Mikroelectronica doesn't have similar example programs.

    Sorry I am not so acquainted to their compiler and library to offer anything further.
    amila likes this.
  4. nigelwright7557

    AAC Fanatic!

    May 10, 2008
    amila likes this.
  5. tshuck

    Well-Known Member

    Oct 18, 2012
    amila likes this.