11 years ago.

mbed to KL25Z interface

I am new with mbed and started with a KL25 board. Simple LED flashing works. PWMOut to LED does not work - maybe this function is not implemented yet. Is there any overview about the mbed functionality regarding to the KL25 board? I see also in several samples simple pin naming (P25, P27, ...). This means that there must be a reference list of the KL25 original pins to the more simplified ones used in the samples? Where can I see this hardware interface header file?

Question relating to:

1 Answer

11 years ago.

Pinnames like p25 etc are for the lpc1768 and lpc11u24 mbed only. You have to use the pinnames given in the specific examples for the kl25z (eg PTC9 or LED_RED). Also note that the LEDs are wired differently on the kl25z and the lpc1768 mbed. This affects the pwm behaviour: the LEDs are max on for a pwm dutycycle of 0 and off for a dutycycle of 1.0 (ie 100%).

Accepted Answer