EasyHID max usb buffer size


Results 1 to 5 of 5

Threaded View

  1. #2
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by jizyjuice View Post
    Hey, I've got everything working with the pic 18f2550 to be recognized as a usb hid device. I'm sending accelerometer data and push button data to the pc using polling.

    I just wanted to know how to increase the data buffer. Easyhid configures the default buffer size to be an array of size 8 "USBBufferOut Var Byte[8]". Is there a way to change the buffer size to 11, or does this exceedthe max buffer size for HID devices?

    Thanks
    Have you tried: USBBufferOut Var Byte[11]? Or search on something like 'usb buffer size'.
    I came up with:

    USBBufferSizeMax con 8 ' maximum buffer size
    USBBufferSizeTX con 8 ' input
    USBBufferSizeRX con 8 ' output
    USBBuffer Var Byte[USBBufferSizeMax]
    USBBufferCount Var Byte

    Looks to me like you change the 8 to an 11 and you're done.
    The search tool works great. But it's only great if you use it.
    Last edited by skimask; - 13th April 2007 at 18:05.

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  3. Speed of USB EasyHID and Time problem
    By sjohansson in forum USB
    Replies: 10
    Last Post: - 18th January 2007, 22:21
  4. EasyHID and buffer entry 0
    By Demon in forum USB
    Replies: 0
    Last Post: - 19th August 2006, 19:34
  5. USB Interface using PIC
    By Tissy in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 22nd May 2006, 16:04

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