bd. Unified PC USB Projects DLL v6.2 for all microcontrollers

An universal DLL (dynamic program library) for Windows is available in 32-bit and 64-bit versions.

You can get LIB_PCUSBProjects v6.2.NET4(x64).dll or later as 32-bit and/or 64-bit version. from Downloads section. The library is preconfigured to start in PIC18F24J50 and PIC18F26J50 native mode. All other microcontroller compatibility modes require setting of a compatibility flag after the "PIC" object creation. See an example on the right hand side.

The library supports MCP2200, PIC18F2550, and PIC32 compatibility modes that enables you to use these microcontrollers without workarounds. It also supports MCP2200, PIC16C745 and PIC18F24J50 original firmwares through legacy compatibility mode flags.

LIB_PCUSBProjects v6.2.NET4(x64).dll or later adds support for wireless communication protocol for data transfer. Read more on wireless communication modules here. PIC32MX250F128B DATA TRANSFER PROTOCOL (x64).zip example is available from Downloads section.

There are four compatibility mode flags:

PIC32_mode

PIC18F2550_mode

K8055_legacy_mode

MCP2200_legacy_mode

All the flags are originaly set to false to indicate native compatibility mode: PIC18F24J50/PIC18F26J50.

NOTE: Only one flag may be set true at a time.

NOTE: Existing programs must be adapted to set the appropriate compatibility mode before using other functions of LIB_PCUSBProjects v6.2.NET4(x64).dll or later program library.

ALSO READ:

- Wireless communications

- PC USB Projects PROGRAMMING GUIDE

- Impulse width measurement: ECCP PWM Meter Example for PIC18F2550, PIC18F24J50 and PIC18F26J50

- Digital Clock with LCD

Examples of applying compatibility mode settings for different micrcontrollers:

' How to set PIC32 (includes PIC32MX250F128B, PIC32MX270F256B and PIC32MZ2048ECH100) compatibility mode:

Dim PIC As New LIB_PCUSBProjects.SVPICAPI

PIC.PIC32_mode = True

'NOTE: Use SVLib_PIC18F24J50 namespace instead of SVLIB_PIC32MX2X0 namespace

....

' How to set PIC18F2550 compatibility mode:

Dim PIC As New LIB_PCUSBProjects.SVPICAPI

PIC.PIC18F2550_mode = True

....

' How to set MCP2200 legacy compatibility mode:

Dim PIC As New LIB_PCUSBProjects.SVPICAPI

PIC.MCP2200_legacy_mode = True

....

' How to set K8055 legacy compatibility mode:

Dim PIC As New LIB_PCUSBProjects.SVPICAPI

PIC.K8055_legacy_mode = True

....