Unsure what pin to set for 18001 buzzer

I’m running the RAK4631 on a RAK19001 base board and just installed the buzzer module. I’m trying to set the pin in meshtastic but I can only input numbers. All the documentation I’m seeing for Slot D is the pin is supposed to be IO5. Not sure what pin needs to be input for the buzzer. Any help is appreciated.

Welcome to the forum @booogs

Meshtastic did not follow our GPIO naming, because they are supporting multiple different hardware.

WisBlock GPIO names to GPIO pin numbers can be found in our Github repo.

/*
 * WisBlock Base GPIO definitions
 */
	static const uint8_t WB_IO1 = 17;	   // SLOT_A SLOT_B
	static const uint8_t WB_IO2 = 34;	   // SLOT_A SLOT_B
	static const uint8_t WB_IO3 = 21;	   // SLOT_C
	static const uint8_t WB_IO4 = 4;	   // SLOT_C
	static const uint8_t WB_IO5 = 9;	   // SLOT_D
	static const uint8_t WB_IO6 = 10;	   // SLOT_D
	static const uint8_t WB_SW1 = 33;	   // IO_SLOT
	static const uint8_t WB_A0 = 5;		   // IO_SLOT
	static const uint8_t WB_A1 = 31;	   // IO_SLOT
	static const uint8_t WB_I2C1_SDA = 13; // SENSOR_SLOT IO_SLOT
	static const uint8_t WB_I2C1_SCL = 14; // SENSOR_SLOT IO_SLOT
	static const uint8_t WB_I2C2_SDA = 24; // IO_SLOT
	static const uint8_t WB_I2C2_SCL = 25; // IO_SLOT
	static const uint8_t WB_SPI_CS = 26;   // IO_SLOT
	static const uint8_t WB_SPI_CLK = 3;   // IO_SLOT
	static const uint8_t WB_SPI_MISO = 29; // IO_SLOT
	static const uint8_t WB_SPI_MOSI = 30; // IO_SLOT

perfect, this is exactly what i’ve been looking for these past few weeks! i ordered the buzzer a while ago and been researching the pin usage since then. i looked up and down forums, reddit and even the local discord groups and no one had an answer.

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