10bit ADC thorugh EASY HID (pic 18f2550)


Results 1 to 4 of 4

Threaded View

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


    Did you find this post helpful? Yes | No

    Default Re: 10bit ADC thorugh EASY HID (pic 18f2550)

    USB descriptor doesn't care about bits, it deals in bytes.

    10 bits will take 2 bytes from PBP (word). You can move high and low bytes individually from word into 2 bytes in descriptor.

    Look how big your descriptor area is in your current USB examples. You have to make sure you have enough pairs of bytes (8 axis needs 16 bytes).

    Once on the PC, I can't say how to convert the 2 bytes to a value.

    Robert
    Last edited by Demon; - 1st December 2014 at 00:56.

Similar Threads

  1. Where To Get Started With ADC (Pic 18f2550 / 4550)
    By jsags1 in forum FAQ - Frequently Asked Questions
    Replies: 6
    Last Post: - 17th October 2014, 04:26
  2. Multiple 10bit adc on pic 16f887?
    By Helgeland in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 4th March 2012, 16:33
  3. Easy HID Command -Response application
    By ptig185 in forum USB
    Replies: 25
    Last Post: - 22nd September 2010, 19:56
  4. i cant get 18f2550 work as HID
    By Ahmadabuomar in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 13th October 2009, 16:39
  5. 10bit ADC = 65536 ????
    By erpalma in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th January 2007, 17:57

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts