RAK19003 + RAK11310 LED pinouts

I’m trying to reconcile the programmable LED pinouts given in the data sheets for the 19003 mini board and 11310 core … against the pinouts used in the actual library.

If you look at RAK11310 WisBlock LPWAN Module Datasheet | RAKwireless Documentation Center, the LEDs are pins 15 and 16.

However, according to the actual definitions in pins_arduino.h for the RAK11300, the pins are 23 and 24.

What am I missing?

Welcome to the forum @futnuh

You are mixing up pin numbers and GPIO numbers.

15 and 16 are physical pins of the RP2040.
On these physical pins are GPIO 23 and GPIO 24.

You can also use predefined constants LED_GREEN and LED_BLUE.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.