Microchip Code Configurator: now with support for click boards


MPLAB® Code Configurator (MCC) is a fantastic tool. One can use the intuitive, graphical interface to configure the peripherals and functions of many microcontrollers – over 300 8-bit PIC16 and PIC18 microcontrollers are supported by the current 1.35 version. I like it a lot, and it’s a perfect tool to configure the new generation of PIC microcontrollers with Peripheral Pin Select (PPS) module – one can forget about configuration registers and such. It’s also a major time saver, I can generate the code routines in a matter of minutes.

This article is more than two years old and might contain obsolete information; it is still kept here for informational purposes.

And now MCC comes with a new benefit: click board™ support. Yes, code libraries for various click boards from MikroElekctronika will be added directly to MCC. There are over 50 click boards that will be added in the next 50 days, and probably more will follow soon.

The initial release of code libraries supports seven click boards:


With some exception related to the particular schematic of the click board (such as the case of Current click), the code libraries are rather specific to the sensor used and can be easily adapted to work in other configurations. A major time-saver when working with the sensors mentioned above.

So, how does it work? Let’s take a look.

I will start with the latest MPLAB X IDE version 3.55, with XC8 version 1.41 and MCC version 3.26.2.

Microchip Code Configurator window

Microchip Code Configurator window

The release notes provide the following installation instructions:

  • Download mikroEClickLibrary_1.0.7.jar from Microchip website.
  • In the MPLAB® X IDE, select Options from the Tools menu
  • Select Plugins tab
  • Click on Add Library
  • Add mikroEClickLibrary_v1.0.7.jar
  • Restart MPLAB® X IDE (it will ask for restart anyway, so save your work before ou begin the installation process)

The same applies to the Foundation Services library, file foundationServicesLibrary-0.1.14.jar.

If the installation process is OK, in the MCC window we should see the new libraries:

Microchip Code Configurator: with Click libraries

Microchip Code Configurator: with Click board libraries

Simple as this. But how we use those libraries? Let’s find out…

1 2

Leave A Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.