TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (91 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139266 times)
  2. FAT32 Library (71754 times)
  3. Network Ethernet Library (57128 times)
  4. USB Device Library (47432 times)
  5. Network WiFi Library (43092 times)
  6. FT800 Library (42408 times)
  7. GSM click (29835 times)
  8. mikroSDK (28101 times)
  9. PID Library (26886 times)
  10. microSD click (26198 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

USB HID Clicker and Python3 - Example

Rating:

0

Author: Kai Masemann

Last Updated: 2016-02-25

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Communication

Downloaded: 424 times

Followed by: 1 user

License: MIT license  

The package contain an example how to transfer data between pc and PIC Clicker board by using Python3.

The example was testet with PIC32 Clicker but should easy be adaptable to any PIC supporting USB.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "USB HID Clicker and Python3 - Example" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "USB HID Clicker and Python3 - Example" changes.

Do you want to report abuse regarding "USB HID Clicker and Python3 - Example".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

PIC - USB - Python


The most common practice to implementing USB is to use a CDC Driver which emulates an COM port in the Windwos device manager or by using USB HID Drivers.

CDC Drivers are easy to implement but have the following disadvantages: 

  • slow speed
  • by default you need to install a driver
  • its hard to identify your device

Using your device as HID USB is a little harder to implement but gives you the following advantages:

  • by default no driver building and installation is needed
  • easy identify multiple devices by the device VendorID, ProductID, VendorName, ProductName or SerialNumber
  • set your own device IDs, Names and Numbers

The example hopefully give you a nice starting point and save you a lot of time.

Python communication

Python communication

Show the Python IDLE output in 64/65 byte packages.

View full image
Python Prog

Python Prog

shows the simple example usable as starting Point for usb projects using Windows preinstalled HID Drivers.

View full image

ALSO FROM THIS AUTHOR

USB CDC Clicker and Python3 - Example (COM Port)

0

The package contain an example how to transfer data between pc and PIC Clicker board by using Python3. The example was testet with PIC32 Clicker but should easy be adaptable to any PIC supporting USB.

[Learn More]