Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
DrM's Activity
About Me
Tab Content
  • DrM's Avatar
    Yesterday, 02:44 PM
    DrM replied to a thread Rawhid in Technical Support & Questions
    I have it, the python api, it is called HIDAPI. I have other issues with it now. It returns ints rather than bytes despite the representations of the documentation.
    6 replies | 58 view(s)
  • DrM's Avatar
    Yesterday, 02:23 PM
    DrM replied to a thread Rawhid in Technical Support & Questions
    The usage_page and usage are both 0 for both interfaces. Here is a code snippet: import hid for h in hid.enumerate(vendor_id = 0x16c0): print( '\n**********************\nhid device' ) ...
    6 replies | 58 view(s)
  • DrM's Avatar
    Yesterday, 12:46 PM
    DrM replied to a thread Rawhid in Technical Support & Questions
    @luni Thank you, that is very helpful, especially the link to the code. Instead of HID, and the HID API, can I just write and read to and from the endpoints? There is a usblib and PyUSB that works at that...
    6 replies | 58 view(s)
  • DrM's Avatar
    Yesterday, 12:29 AM
    Hi, Running the USB RAWHID example in a Teensy 3.2, and python hidapi library, hid,enumerate() returns two device interfaces, The packets seem to appear on both, even if open at the same time. Why are there...
    6 replies | 58 view(s)
  • DrM's Avatar
    06-15-2021, 04:01 PM
    Is there a python program to go with the RAWHID example? The python program mentioned at https://www.pjrc.com/teensy/rawhid.html, is out of date and seems not compatible with python's native hid support. Thank you
    0 replies | 37 view(s)
No More Results
About DrM

Basic Information

About DrM
Biography:
Doctorate in Chemistry and Physics, former faculty in Materials Science at a big ten school, scientist in x-ray diffraction, spectroscopy and instrumentation at a National Lab. Currently working on lasing, lighting and quantum information applications in organic semiconductors.
Location:
Eastern Time, USA
Interests:
Quantum optics, acoustics, jazz guitar, acoustic bass, flying, ice hockey, surfing
Occupation:
Scientist, engineer

Statistics


Total Posts
Total Posts
123
Posts Per Day
0.11
Last Post
Rawhid Yesterday 02:44 PM
General Information
Last Activity
Yesterday 02:44 PM
Join Date
04-26-2018