add TX led to thinknode M1

This commit is contained in:
JQ 2025-06-09 17:35:00 -07:00
parent 3f0c89d7be
commit e1ceaab7ed
3 changed files with 15 additions and 0 deletions

View file

@ -26,6 +26,11 @@ void ThinkNodeM1Board::begin() {
Wire.begin();
#ifdef P_LORA_TX_LED
pinMode(P_LORA_TX_LED, OUTPUT);
digitalWrite(P_LORA_TX_LED, LOW);
#endif
pinMode(SX126X_POWER_EN, OUTPUT);
digitalWrite(SX126X_POWER_EN, HIGH);
delay(10); // give sx1262 some time to power up