HID USB Multimedia Keypad


Closed Thread
Results 1 to 32 of 32

Hybrid View

  1. #1
    Join Date
    Feb 2011
    Posts
    14

    Default Re: HID USB Multimedia Keypad

    Thanks again for the help.

    I put the code you sugested in but I keep getting an error saying Syntax Error for

    UIE = $7F 'ENABLE USB INTERRUPTS

    I am using Picbasic Pro 2.47

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default Re: HID USB Multimedia Keypad

    Can you give a little more info.. Are you trying the instant solution or the other?
    Go ahead and post your code and config setup.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Feb 2011
    Posts
    14

    Default Re: HID USB Multimedia Keypad

    Ok I updated to PBP 2.60 (just found the CD) and it compiles ok now but if I enable the innterrupt routines it won't detect the device.
    Attached Files Attached Files

  4. #4
    Join Date
    Feb 2011
    Posts
    14

    Default Re: HID USB Multimedia Keypad

    I am using a custom HID Bootloader (Modified the Microchip one since it won't compile using the free tools)

    I am also using an external 48MHz Oscilator since I have hundreds.
    Attached Files Attached Files
    Last edited by pmacleod; - 12th February 2011 at 17:45.

  5. #5
    Join Date
    Feb 2011
    Posts
    14

    Default Re: HID USB Multimedia Keypad

    Ok I just had some of that code you gave me in wrong place, seems to be working fine now.

    I noticed they really changed the USB examples in the new PBP, is it hard to convert an exsisting project to the new format or is it even worth doing.

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default Re: HID USB Multimedia Keypad

    Quote Originally Posted by pmacleod View Post
    Ok I just had some of that code you gave me in wrong place, seems to be working fine now.
    Great!!
    I noticed they really changed the USB examples in the new PBP, is it hard to convert an exsisting project to the new format or is it even worth doing.
    Your base code should not really change, just the supporting files. So what I do when upgrading an old project like this is start a new directory with the old base code and all of the new supporting files if I need the features from the new PBP. Otherwise I just leave things as they are and use the version of PBP that was originally used for the project. You can have more than one version of PBP installed, just pick the one you want at compile time.
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Feb 2011
    Posts
    14

    Default Re: HID USB Multimedia Keypad

    Ok I am seeing some wierd things in the new USB Descriptor file for PBP 2.60. Is there a filesize limit for the descriptors now?

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