Pic18f2550 HID Keyboard


Closed Thread
Results 1 to 21 of 21

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154

    Default Re: Pic18f2550 HID Keyboard

    Code:
    DoUSBinit:
    pause 500
    usbinit 
    repeat 
    usbservice
    until usb_device_state = CONFIGURED_STATE
    @ INT_ENABLE USB_INT
    return
    1. That PAUSE can screw up USB.

    2. DT INT takes care of USB INIT for you.

    3. You shouldn't have to write your own assembler routines for USB, they should be available in DT INT.

    4. I didn't see ReEnterPBP-18.bas included.

    Robert

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154

    Default Re: Pic18f2550 HID Keyboard

    I recommend read Darrel Taylor's posts from this point:

    http://www.picbasic.co.uk/forum/show...0434#post80434

    Download that file and look how he does things.

    Robert

  3. #3
    Join Date
    Jun 2007
    Posts
    25

    Default Re: Pic18f2550 HID Keyboard

    Thanks Robert ,

    Already Did Now But , Doesn't Help In My Situation (Multimedia & qwerty Keyboard) .

  4. #4

    Default Re: Pic18f2550 HID Keyboard

    Hi all,

    I don't mean to turn my question into an off topic but,

    can someone explain me how the descriptor works without being included in the main program ( my question above ) ?

    Thanks

    Regards
    Rui

  5. #5
    Join Date
    Jan 2006
    Location
    Toronto
    Posts
    109

    Default Re: Pic18f2550 HID Keyboard

    I am confused, you asked how to add multimedia keys so he linked to my HID multimedia keypad and u simply say it doesn't work and its not a full keyboard. What exactly do you want then?

    I do use Darrels interrupt routines in mine as they work way better for this type of job but did not include the actual files as I just thought it was better to get them from Darrel.
    Last edited by PJALM; - 5th November 2014 at 23:02.

Similar Threads

  1. USB HID is slower than often using PIC18f2550
    By Ahmadabuomar in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 16th November 2010, 14:05
  2. HID Keyboard Example
    By apitaru in forum USB
    Replies: 8
    Last Post: - 6th August 2010, 16:27
  3. PIC18F2550 Newbie
    By JeffnDana in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th April 2007, 15:13
  4. Replies: 3
    Last Post: - 18th January 2006, 14:12
  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 : 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