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: 6743 times
Followed by: 3 users
License: MIT license
USB libraries, new architecture. Permits composite USB devices (possibilities: HID, CDC and MSD).
-- for P18's or P24's with USB --
Version 1.1: Modified so that (changes to) values in "UsbProjectItems" like PID and VID are actually visible in the executable.
Do you want to subscribe in order to receive notifications regarding "USB_NA" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "USB_NA" changes.
Do you want to report abuse regarding "USB_NA".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1555154852_usb_na_mikropascal_pic.mpkg [931.85KB] | mikroPascal PRO for PIC |
|
1555154940_usb_na_other_pic.zip [1.24MB] | Other PIC Compilers |
|
1555155027_usb_na_mikropascal_pic24.mpkg [907.06KB] | mikroPascal PRO for dsPIC30/33 & PIC24 |
|
1555155116_usb_na_other_pic24.zip [1.20MB] | Other PIC24 Compilers |
|
1555155198_usb_na_mikrobasic_pic.mpkg [993.57KB] | mikroBasic PRO for PIC |
|
1555155285_usb_na_mikrobasic_pic24.mpkg [971.99KB] | mikroBasic PRO for dsPIC30/33 & PIC24 |
|
1525280445_usb_na_other_other.zip [1.17KB] | Other Compiler |
|
1525280475_usb_na_other_other.zip [17.70KB] | Other Compiler |
|
This library is intended to make composite USB devices (max 1 of each type below):
HID: Human Interface devices, e.g. Keyboard, mouse, etc..
CDC: Communication device: e.g. serial port
MSD: mass storage device, e.g. SDMMC card.
Important remarks:CDC devices:
MSD devices:
Libraries:
- USB_CDC_Library_NA
- USB_HID_Library_NA
- USB_MSD_Library_NA
- USB_Library_Core_Constants_NA
- USB_Library_Core_NA
- USB_HID_Keyb_Library_NA (Ps2 keyboard to USB keyboard; Supports also the "Sleep", "Wake-up" and "Power" keys.)
The zipfile has the same content as the package.Have Fun!
-----------------------------------------------------------------------------------------------------------------------------------------------
Version 1.1: Modified so that (changes to) values in "UsbProjectItems" like PID and VID are actually visible in the executable.
Important: the "USBxxx_ProjectItems.mpas" files have been changed!
-------------------------------------------------------------------------------------------------------------------------------------------------
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 large. Still, the max size of the card supported here is 4 Gb.
-------------------------------------------------------------------------------------------------------------------------------------------------
29-03-2012: Added the P24 version of the libraries. No "keyboard" libraries yet however.
Have fun!
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.
------------------------------------------------------------------------------------------------------------------------------------------------
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).
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).
2019-04-12: Removed a blocking statement in 'InitUsb'. The SW was blocked in case no USB connection was made.