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]
Rating:
Author: dany
Last Updated: 2019-04-13
Package Version: 1.1.0.0
Category: USB
Downloaded: 6577 times
Followed by: 1 user
License: MIT license
USB libraries (HID, CDC, MSD), original architecture: only 1 kind of USB device, no composite device.
-- for P18's or P24's with USB -- . Additionally: the CDC_Twin library (P18 only), which creates 2 virtual COM (CDC) devices.
Do you want to subscribe in order to receive notifications regarding "USB_OA" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "USB_OA" changes.
Do you want to report abuse regarding "USB_OA".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1555174304_usb_oa_mikropascal_pic.mpkg [1.80MB] | mikroPascal PRO for PIC |
|
1555174350_usb_oa_other_pic.zip [1.59MB] | Other PIC Compilers |
|
1555174393_usb_oa_mikropascal_pic24.mpkg [1.09MB] | mikroPascal PRO for dsPIC30/33 & PIC24 |
|
1555174434_usb_oa_other_pic24.zip [1.26MB] | Other PIC24 Compilers |
|
1555174476_usb_oa_mikrobasic_pic.mpkg [1.92MB] | mikroBasic PRO for PIC |
|
1555174517_usb_oa_mikrobasic_pic24.mpkg [1.17MB] | mikroBasic PRO for dsPIC30/33 & PIC24 |
|
1525279626_usb_oa_other_other.zip [1.17KB] | Other Compiler |
|
1525280064_usb_oa_other_other.zip [17.70KB] | Other Compiler |
|
This library is intended to make non composite USB devices:
HID: Human Interface devices, e.g. Keyboard, mouse, etc..
CDC: Communication device: e.g. serial port
MSD: mass storage device, e.g. SDMMC card.
USB keyboard library: Supports also the "Sleep", "Wake-up" and "Power" keys.
Libraries:
- USB_HID_Library
- USB_CDC_Library
- USB_CDC_PP2_Library
- USB_CDC_Library_P18FxxJ53
- USB_CDC_PP2_Library_P18FxxJ53
- USB_CDC_Twin_Library
- USB_MSD_Library
- USB_HID_Keyb_Library
Have fun!
-------------------------------------------------------------------------------------------------------------------------------------------------
Version 1.1: Changed so that PID and VID defined in the "Usb_xxx_ProjectItems" projectfile effectively show in the executable when the libraries are used without sourcefile.
-------------------------------------------------------------------------------------------------------------------------------------------------
18-03-2012: Removed an error in "USB_MSD_Library", calculation of the card capacity did not work correctly for cards of exactly 4 GB. The max card size supported stays 4 GB however.
------------------------------------------------------------------------------------------------------------------------------------------------
20-03-2012: The USB HID, CDC and MSD libraries for PIC24 have been added. No PingPong or Keyboard library however.
2012-06-08: The help section in the package and zip file has been updated.
------------------------------------------------------------------------------------------------------------------------------------------------
2012-11-12: The microBasic package(s) ha(s)(ve) been added.
Only
the .mcl files are available as "library" files: they are copied from
the mikroPascal version (the mP and mB .mcl files are compatible -
luckely - ).
If you want to see some sources: look into the mP versions.
The example files are still in mP, not in mB. (I do not have an mB licence, so I can not compile them).
Some of the helpfiles are also still referring to mP, but all library "interfaces" are available in the mB language.
------------------------------------------------------------------------------------------------------------------------------------------------
The "USB_CDC_OA" library has been updated, it is compiled with the SSA opn ON now (gave problems when using the lib with mB).
------------------------------------------------------------------------------------------------------------------------------------------------
2013-01-26: Replaced "Delay_ms" and "Delay_us" by routines available in the Delays lib.
"Delay_ms"
and "Delay_us" are inline routines and cannot be used in libraries if
they are to be used without source (e.g. non Pascal compilers).
----------------------------------------------------------------------------------------------------------------------------------------
2014-03-13: The mikroBasic files and zip files have been updated. All mB sources are present now (not tested if compilable though).
---------------------------------------------------------------------------------------------------------------------------------------------
2014-03-26: Corrected an error in the Delphi unit "Wincom.pas" (used in the windows application TestCDC). Thanks to Virgil Chindris for pointing out type errors in the routines "getChar" and "OpenCom".
---------------------------------------------------------------------------------------------------------------------------------------------
2014-05-02: CDC library: Removed automatic sending of a zero length packet after sending a 64 bytes packet (slowed down sending from PIC to PC).
---------------------------------------------------------------------------------------------------------------------------------------
2014-05-03: PIC version only. Added the following CDC libraries:
2015-01-26: Replaced the mB files: all mB files are compilable now (which e.g. means that all "with" statements are dealt with). I could however not link and test the libraries (no mB licence).
------------------------------------------------------------------------------------------------------------------------------------
2016-08-14: Changed the HID libraries: the USB_HID_Write routine now actually writes the asked bytecount. This is important for devices sending less than 64 bytes.
2019-04-12: Removed a blocking statement in 'InitUsb'. The SW was blocked in case no USB connection was made.