11 years, 6 months ago.

Where are Pin definitions?

I see that LED1 is used in a file. I guessed LED2 was a pin name, It worked, Know I need one of the analog inputs.

Question relating to:

1 Answer

11 years, 6 months ago.

Here the pin assignments are shown: http://mbed.org/handbook/mbed-FRDM-KL25Z

In addition there are a few more defined, such as LED1, LED2 (those are actually only for compatibility with LPC programs), USBTX + USBRX for serial connection over USB (they also refer to the programming USB port, not the one connected to the KL25 chip itself), all pin definitions can be found here: http://mbed.org/users/mbed_official/code/mbed-Freescale/file/d5f2f3e8f628/capi/KL25Z/PinNames.h

Accepted Answer

The link above for PinNames.h does not work! Can you fix it please?

posted by Herschel Hall 16 Nov 2013

This one should work: http://mbed.org/users/mbed_official/code/mbed-src/file/bebbbd80dd87/targets/hal/TARGET_Freescale/TARGET_KL25Z/PinNames.h

If it changes again, search for mbed-src, then it is at targets > hal > [your manufacturer] > [your device] > PinNames.h

posted by Erik - 16 Nov 2013