TOP Contributors

  1. MIKROE (2642 codes)
  2. Alcides Ramos (347 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136223 times)
  2. FAT32 Library (69489 times)
  3. Network Ethernet Library (55708 times)
  4. USB Device Library (45992 times)
  5. Network WiFi Library (41639 times)
  6. FT800 Library (40794 times)
  7. GSM click (28789 times)
  8. PID Library (26332 times)
  9. mikroSDK (26058 times)
  10. microSD click (25144 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
Project

USB HID CDC MSD composite device

Rating:

5

Author: dany

Last Updated: 2012-07-27

Package Version: 1.0.0.0

Category: USB

Downloaded: 2206 times

Followed by: 1 user

License: MIT license  

This project uses all the available types of USB devices in the USB_OA library: HID (application echos chars send by the PC to the PC), CDC (application echos chars send by the PC to the PC), MSD (the contents of an SD/MMC card is presented to the PC as an extra drive).

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "USB HID CDC MSD composite device" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "USB HID CDC MSD composite device" changes.

Do you want to report abuse regarding "USB HID CDC MSD composite device".

  • Information
  • Comments (2)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

This project uses the "USB_NA" package, which allows to create HID, CDC and MSD devices, simple or composite. Here a maximal composite USB device is created: HID + CDC + MSD.

The project needs an SD/MMC card connected to the PIC SPI interface.

The project uses following libraries:
- Conversions (mikroE)
- Mmc (mikroE)
- SPI (mikroE)
- String (mikroE)
- Uart (mikroE)
- USB_CDC_Library_NA (USB_NA)
- USB_HID_Library_NA (USB_NA)
- USB_MSD_Library_NA (USB_NA)
- USB_Library_Core_NA (USB_NA)
- USB_Library_Core_Constants_NA (USB_NA)
- SDMMC_Utils_mmc_p18 (Utilities)
- StrngUtils_p18 (Utilities)

Have fun!

ALSO FROM THIS AUTHOR

WattMeter (Power meter)

5

This project is a power meter (Wattmeter). It is made for 230V~ (nominal, rms), 2.5A~ (max, rms) and 50Hz, but is rather easily adaptable to other voltages, currents and frequencies. It can handle both sinusoidal and non sinusoidal voltages and currents, both with and without DC component.

[Learn More]

PS2_Keyboard_Mouse

15

PS2 keyboard and mouse libraries. Also keyboard write (led control). -- for P18 --

[Learn More]

Wifi Plus click HTTP Client

0

With this example one can load an internet page from an HTTP server. At this moment the remote IP address is fixed in the code and it loads the default file from the server. All data received from the HTTP server is sent to Uart1 where it can be picked up by a uart program to display or to save to a file.

[Learn More]