10 years, 8 months ago.

Hi! Newbie here...

I found this code, but i dont know how to conect the circuit... where is difine the output pins for led_1, led_2...etc???

Question relating to:

1 Answer

10 years, 8 months ago.

For your board (FRDM-KL46Z), you can find the pin info here.
The code you are referring to is usable on any mbed platform because pinnames.h (abovementioned link) is used to remap common connections.
Even though it will run on the FRDM-KL46Z, this code has initially been written for the LPC1768 board where 4 adjacent leds are available. As the FRDM-KL46Z remaps LED1 and LED3 to LED_GREEN and LED2 and LED4 to LED_RED, the fading effect will be different.

Accepted Answer