Added pin assignment for FM mode LED (WA0EDA)

This commit is contained in:
Cort Buffington 2020-07-21 08:19:18 -05:00
parent 6dfe1a9271
commit e304f5cce2
2 changed files with 8 additions and 3 deletions

6
IO.cpp
View File

@ -152,8 +152,8 @@ void CIO::selfTest()
}
#if defined(MODE_LEDS)
setDStarInt(true);
setDMRInt(false);
setDStarInt(false);
setDMRInt(true);
setYSFInt(false);
setP25Int(false);
setNXDNInt(false);
@ -161,7 +161,7 @@ void CIO::selfTest()
setFMInt(false);
delayInt(250);
setDMRInt(true);
setDStarInt(true);
delayInt(250);
setYSFInt(true);

View File

@ -33,6 +33,7 @@ DSTAR PB6 output
DMR PB5 output
YSF PB7 output
POCSAG PC10 output
FM PC11 output
RX PB0 analog input
RSSI PB1 analog input
@ -82,6 +83,10 @@ EXT_CLK PA15 input
#define PORT_POCSAG GPIOC
#define RCC_Per_POCSAG RCC_AHB1Periph_GPIOC
#define PIN_FM GPIO_Pin_11
#define PORT_FM GPIOC
#define RCC_Per_FM RCC_AHB1Periph_GPIOC
#define PIN_EXT_CLK GPIO_Pin_15
#define SRC_EXT_CLK GPIO_PinSource15
#define PORT_EXT_CLK GPIOA