Toggle GPIO2 to HIGH when transmitting a packet out the LORA radio.

This commit is contained in:
Jm Casler
2020-11-09 19:47:31 -08:00
parent 825001f313
commit e33657eb75
3 changed files with 15 additions and 0 deletions

View File

@@ -233,6 +233,13 @@ RadioInterface *rIf = NULL;
void setup()
{
// Jm's TXRX Deduplexer
// if 0 - receive
// 1 - transmit
pinMode(RADIO_TXRX, OUTPUT);
digitalWrite(RADIO_TXRX, 0);
#ifdef USE_SEGGER
SEGGER_RTT_ConfigUpBuffer(0, NULL, NULL, 0, SEGGER_RTT_MODE_NO_BLOCK_TRIM);
#endif