Clicker2 for PIC32MX: now with direct Arduino IDE programming

5

Alternate pin names

A quick update on this post [3 November 2016]: As pointed out by Matt Jenkins from Majenko Technologies, there’s an alternate set of pin definitions for the Clicker2 board, the format being “PIN_xxx”, where “xxx” is the pin name (written on the board). The click sockets also have their own pin definitions, of type “PIN_Cy_xxx”.

If you prefer this way of addressing the pins, here’s an updated pin map:

Alternate pin names for Clicker2 for PIC32 MX

Alternate pin names for Clicker2 for PIC32 MX

A higher resolution of this pin chart in pdf format is also available for download.

As an example on how to use these pin definitions, take a look on how to make the LED1 on the Clicker board blink:

1 2
Share.

5 Comments

  1. Jean-Luc Deladrière on

    Hi Teodor
    It works fine !
    I found more convenient to use the onboard switch to enter bootloader mode : keeping the board off then on when the IDE asks “*** Enter programming mode now. ***”
    Thanks a lot for your PDF chart : It’s most necessary !

  2. The Clicker2 definitions in chipKIT-core have a huge number of handy macros defined in the form “PIN_xxx” where “xxx” is what is written on the board. Thus pin 34 can be referenced as PIN_RD0.

    For the “click” headers you have a slightly different format: PIN_Cy_xxx where y is 1 for the left and 2 for the right clicker header and, again, xxx is the name of the pin. So the analog pin on the left hand click socket is PIN_C1_AN

    The battery sense has three special defines: PIN_SENSEL, PIN_VSENSE and PIN_STAT for pins 89, 90 and 91 respectively (enable, sense, status).

    Makes it a bit easier to work out which pin is which, yes?

Leave A Reply

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